4 #define RUNFLAG_APTWORKAROUND (BIT(0))
Result APT_PrepareToCloseApplication(Handle *handle, u8 a)
Result APT_CheckNew3DS_System(Handle *handle, u8 *out)
Result APT_PrepareToJumpToHomeMenu(Handle *handle)
Result APT_GetAppletManInfo(Handle *handle, u8 inval, u8 *outval8, u32 *outval32, NS_APPID *menu_appid, NS_APPID *active_appid)
Result APT_HardwareResetAsync(Handle *handle)
Result APT_CheckNew3DS(Handle *handle, u8 *out)
void aptWaitStatusEvent()
void aptSignalReadyForSleep()
Result APT_SendParameter(Handle *handle, NS_APPID src_appID, NS_APPID dst_appID, u32 bufferSize, u32 *buffer, Handle paramhandle, u8 signalType)
Result APT_CheckNew3DS_Application(Handle *handle, u8 *out)
Result APT_DoAppJump(Handle *handle, u32 NSbuf0Size, u32 NSbuf1Size, u8 *NSbuf0Ptr, u8 *NSbuf1Ptr)
Result APT_CloseApplication(Handle *handle, u32 a, u32 b, u32 c)
Result APT_PrepareToDoAppJump(Handle *handle, u8 flags, u64 programID, u8 mediatype)
Result APT_AppletUtility(Handle *handle, u32 *out, u32 a, u32 size1, u8 *buf1, u32 size2, u8 *buf2)
NS_APPID aptGetMenuAppID()
Result APT_PrepareToStartLibraryApplet(Handle *handle, NS_APPID appID)
Result APT_Initialize(Handle *handle, NS_APPID appId, Handle *eventHandle1, Handle *eventHandle2)
Result APT_IsRegistered(Handle *handle, NS_APPID appID, u8 *out)
void aptSetStatusPower(u32 status)
Result APT_Enable(Handle *handle, u32 a)
Result APT_SendCaptureBufferInfo(Handle *handle, u32 bufferSize, u32 *buffer)
Result APT_GetAppCpuTimeLimit(Handle *handle, u32 *percent)
Result APT_JumpToHomeMenu(Handle *handle, u32 a, u32 b, u32 c)
Result APT_StartLibraryApplet(Handle *handle, NS_APPID appID, Handle inhandle, u32 *parambuf, u32 parambufsize)
void aptSetStatus(APP_STATUS status)
Result APT_GetLockHandle(Handle *handle, u16 flags, Handle *lockHandle)
APP_STATUS aptGetStatus()
Result APT_InquireNotification(Handle *handle, u32 appID, u8 *signalType)
Result APT_ReplySleepNotificationComplete(Handle *handle, NS_APPID appID)
Result APT_SetAppCpuTimeLimit(Handle *handle, u32 percent)
Result APT_GlanceParameter(Handle *handle, NS_APPID appID, u32 bufferSize, u32 *buffer, u32 *actualSize, u8 *signalType)
Result APT_LaunchLibraryApplet(NS_APPID appID, Handle inhandle, u32 *parambuf, u32 parambufsize)
Result APT_ReceiveParameter(Handle *handle, NS_APPID appID, u32 bufferSize, u32 *buffer, u32 *actualSize, u8 *signalType)
Result APT_ReplySleepQuery(Handle *handle, NS_APPID appID, u32 a)
Result APT_NotifyToWait(Handle *handle, NS_APPID appID)