Applet Manager services: Difference between revisions

Line 319: Line 319:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 10 || ReadThemeStorage || Takes an input u64 '''offset''' and a type-0x22 output buffer, returns an output u64 '''actual_transfer_size'''.
| 10 || [[#ReadThemeStorage]] ||  
|-
|-
| 11 || WriteThemeStorage || Takes an input u64 '''offset''' and a type-0x21 input buffer, no output.
| 11 || [[#WriteThemeStorage]] ||  
|-
|-
| 40 || [8.0.0+] GetDisplayLogicalResolution ||  
| 40 || [8.0.0+] [[#GetDisplayLogicalResolution]] ||  
|-
|-
| 42 || [8.0.0+] SetDisplayMagnification ||  
| 42 || [8.0.0+] [[#SetDisplayMagnification]] ||  
|-
|-
| 50 || [8.0.0+] SetHomeButtonDoubleClickEnabled ||  
| 50 || [8.0.0+] [[#SetHomeButtonDoubleClickEnabled]] ||  
|-
|-
| 51 || [8.0.0+] GetHomeButtonDoubleClickEnabled ||  
| 51 || [8.0.0+] [[#GetHomeButtonDoubleClickEnabled]] ||  
|}
|}


ReadThemeStorage/WriteThemeStorage: these commands copy data from/to a state buffer and the user specified buffer. The size of the state buffer is 0x400-bytes.
ReadThemeStorage/WriteThemeStorage: these commands copy data from/to a state buffer and the user specified buffer. The size of the state buffer is 0x400-bytes. The default content of the ThemeStorage prior to using the WriteThemeStorage cmd, is: <code>memset(statebuf, 0xAA, 0x400);</code>
 
=== ReadThemeStorage ===
Takes an input u64 '''offset''' and a type-0x22 output buffer, returns an output u64 '''actual_transfer_size'''.
 
=== WriteThemeStorage ===
Takes an input u64 '''offset''' and a type-0x21 input buffer, no output.
 
=== GetDisplayLogicalResolution ===
No input, returns an output s32 '''width''' and s32 '''height'''.
 
=== SetDisplayMagnification ===
Takes 4 input floats, no output.
 
=== SetHomeButtonDoubleClickEnabled ===
Takes an input u8 bool, no output.
 
=== GetHomeButtonDoubleClickEnabled ===
No input, returns an output u8 bool.


== ILibraryAppletProxy ==
== ILibraryAppletProxy ==