Difference between revisions of "APT:AppletUtility"

From 3dbrew
Jump to navigation Jump to search
m
Line 61: Line 61:
 
| 0
 
| 0
 
| void ClearPowerButtonState()
 
| void ClearPowerButtonState()
 +
|-
 +
| 1
 +
| ?
 +
|-
 +
| 2
 +
| ?
 
|-
 
|-
 
| 3
 
| 3
Line 76: Line 82:
 
| 7
 
| 7
 
| void UnlockTransition(u32 transition)
 
| void UnlockTransition(u32 transition)
|-
 
| 8
 
| void SetCurrentPosToSystem()
 
 
|-
 
|-
 
| 10
 
| 10
Line 88: Line 91:
 
| 12
 
| 12
 
| void SetPowerButtonClick()
 
| void SetPowerButtonClick()
 +
|-
 +
| 16
 +
| ?
 +
|-
 +
| 17
 +
| ?
 +
|-
 +
| 18
 +
| ?
 
|}
 
|}

Revision as of 04:24, 20 January 2016

Request

Index Word Description
0 Header code [0x004B00C2]
1 Utility
2 Input Size
3 Output Size
4 (Input Size << 14) | 0x402
5 void*, Input

The following is located 0x100-bytes after the beginning of the above command buffer:

Index Word Description
0 (Output Size << 14) | 2
1 void*, Output

Response

Index Word Description
0 Header code
1 Result code
2 Applet Result

Utility

ID Description
0 void ClearPowerButtonState()
1 ?
2 ?
3 void ClearExclusiveControl()
4 void SleepIfShellClosed()
5 void LockTransition(u32 transition)
6 bool TryLockTransition(u32 transition)
7 void UnlockTransition(u32 transition)
10 void StartExitTask()
11 void SetInitialSenderId(u32 id)
12 void SetPowerButtonClick()
16 ?
17 ?
18 ?