| 992 | } |
| 993 | |
| 994 | Result APT_GetAppletManInfo(APT_AppletPos inpos, APT_AppletPos* outpos, NS_APPID* req_appid, NS_APPID* menu_appid, NS_APPID* active_appid) |
| 995 | { |
| 996 | u32 cmdbuf[16]; |
| 997 | cmdbuf[0]=IPC_MakeHeader(0x5,1,0); // 0x50040 |
| 998 | cmdbuf[1]=inpos; |
| 999 | |
| 1000 | Result ret = aptSendCommand(cmdbuf); |
| 1001 | if (R_SUCCEEDED(ret)) |
| 1002 | { |
| 1003 | if (outpos) *outpos =cmdbuf[2]; |
| 1004 | if (req_appid) *req_appid =cmdbuf[3]; |
| 1005 | if (menu_appid) *menu_appid =cmdbuf[4]; |
| 1006 | if (active_appid) *active_appid=cmdbuf[5]; |
| 1007 | } |
| 1008 | |
| 1009 | return ret; |
| 1010 | } |
| 1011 | |
| 1012 | Result APT_GetAppletInfo(NS_APPID appID, u64* pProgramID, u8* pMediaType, bool* pRegistered, bool* pLoadState, APT_AppletAttr* pAttributes) |
| 1013 | { |
no test coverage detected