MCPcopy Create free account
hub / github.com/devkitPro/libctru / APT_GetAppletProgramInfo

Function APT_GetAppletProgramInfo

libctru/source/services/apt.c:1031–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029}
1030
1031Result APT_GetAppletProgramInfo(u32 id, u32 flags, u16 *titleversion)
1032{
1033 u32 cmdbuf[16];
1034 cmdbuf[0]=IPC_MakeHeader(0x4D,2,0); // 0x4D0080
1035 cmdbuf[1]=id;
1036 cmdbuf[2]=flags;
1037
1038 Result ret = aptSendCommand(cmdbuf);
1039 if (R_SUCCEEDED(ret))
1040 *titleversion=cmdbuf[2];
1041
1042 return ret;
1043}
1044
1045Result APT_GetProgramID(u64* pProgramID)
1046{

Callers

nothing calls this directly

Calls 2

IPC_MakeHeaderFunction · 0.85
aptSendCommandFunction · 0.85

Tested by

no test coverage detected