APT:AppletUtility: Difference between revisions

Subv (talk | contribs)
Added some aptutility command values
Steveice10 (talk | contribs)
mNo edit summary
Line 9: Line 9:
|-
|-
| 1
| 1
| Command
| [[APT:AppletUtility#Utility|Utility]]
|-
|-
| 2
| 2
| Buffer1 size
| Input Size
|-
|-
| 3
| 3
| Buffer2 size
| Output Size
|-
|-
| 4
| 4
| ((Buffer1 size)<<14)<nowiki>|</nowiki>0x402
| (Input Size << 14) <nowiki>|</nowiki> 0x402
|-
|-
| 5
| 5
| Buffer1 (in ?) address
| void*, Input
|}
|}


Line 31: Line 31:
|-
|-
| 0
| 0
| ((Buffer2 size)<<14)<nowiki>|</nowiki>2
| (Output Size << 14) <nowiki>|</nowiki> 2
|-
|-
| 1
| 1
| Buffer2 (out ?) address
| void*, Output
|}
|}


Line 50: Line 50:
|-
|-
| 2
| 2
| Applet Result?
| Applet Result
|}
|}


=Command Ids=
=Utility=
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Id
ID
Name
Description
|-
| 0
| void ClearPowerButtonState()
|-
| 3
| void ClearExclusiveControl()
|-
|-
| 4
| 4
| SleepIfShellClosed
| void SleepIfShellClosed()
|-
|-
| 5
| 5
| LockTransition
| void LockTransition(u32 transition)
|-
| 6
| bool TryLockTransition(u32 transition)
|-
|-
| 7
| 7
| UnlockTransition
| void UnlockTransition(u32 transition)
|-
| 8
| void SetCurrentPosToSystem()
|-
| 10
| void StartExitTask()
|-
| 11
| void SetInitialSenderId(u32 id)
|-
| 12
| void SetPowerButtonClick()
|}
|}