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

Function APT_IsRegistered

libctru/source/services/apt.c:1058–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058Result APT_IsRegistered(NS_APPID appID, bool* out)
1059{
1060 u32 cmdbuf[16];
1061 cmdbuf[0]=IPC_MakeHeader(0x9,1,0); // 0x90040
1062 cmdbuf[1]=appID;
1063
1064 Result ret = aptSendCommand(cmdbuf);
1065 if (R_SUCCEEDED(ret))
1066 *out=cmdbuf[2] & 0xFF;
1067
1068 return ret;
1069}
1070
1071Result APT_InquireNotification(u32 appID, APT_Signal* signalType)
1072{

Callers 2

aptExitFunction · 0.85
aptScreenTransferFunction · 0.85

Calls 2

IPC_MakeHeaderFunction · 0.85
aptSendCommandFunction · 0.85

Tested by

no test coverage detected