wut  v1.7.0
Wii U Toolchain
sys_caffeine.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 
17 struct WUT_PACKED CCRAppLaunchParam
18 {
19  uint64_t launchInfoDatabaseEntryId; // id used in the \link nn::sl::LaunchInfoDatabase
20  char uuid[16]; // account uuid
21  WUT_UNKNOWN_BYTES(0xE7);
22 };
23 WUT_CHECK_OFFSET(CCRAppLaunchParam, 0x00, launchInfoDatabaseEntryId);
24 WUT_CHECK_OFFSET(CCRAppLaunchParam, 0x08, uuid);
25 WUT_CHECK_SIZE(CCRAppLaunchParam, 0xFF);
26 
27 void
29 
30 uint32_t
32 
33 void
35 
39 int32_t
41 
45 int32_t
46 CCRSysCaffeineSetEnableFlag(int32_t enabled);
47 
48 #ifdef __cplusplus
49 }
50 #endif
51 
uint64_t launchInfoDatabaseEntryId
Definition: sys_caffeine.h:19
int32_t CCRSysCaffeineSetEnableFlag(int32_t enabled)
void CCRSysCaffeineBootCheckAbort()
int32_t CCRSysCaffeineSetDRCEnableFlag(int32_t enabled)
uint32_t CCRSysCaffeineBootCheck()
void CCRSysCaffeineGetAppLaunchParam(CCRAppLaunchParam *data)