Applet Manager services: Difference between revisions

No edit summary
Line 3,126: Line 3,126:
! Cmd || Name || Notes
! Cmd || Name || Notes
|-
|-
| 2000 || GetTipcCompatInterface? || Returns a TIPC handle to [[#TipcCompatInterface]].
| 2000 || GetTipcDrawInterface? || Returns a TIPC handle to [[#TipcDrawInterface]].
|-
|-
| 2001 || ||  
| 2001 || ||  
Line 3,151: Line 3,151:
|}
|}


== (Switch 2) TipcCompatInterface ==
 
= (Switch 2) adraw:a =
This is "nn::appletdraw::sfif::IAppletRoot".
 
{| class="wikitable" border="1"
|-
! Cmd || Name || Notes
|-
| 1 || OpenResourceSession || Takes a u64. Returns a [[#IResourceSession]].
|-
| 2 || OpenAppletSession || Takes a u64. Returns a [[#IAppletSession]].
|}
 
== IResourceSession ==
[S2] This is "nn::appletdraw::sfif::IResourceSession".
 
{| class="wikitable" border="1"
|-
! Cmd || Name || Notes
|-
| 1 ||  || Takes a u64. Returns a u64.
|-
| 10 ||  || Takes a handle, a u64 and an int. Returns a handle.
|-
| 11 ||  || Takes nothing. Returns nothing.
|}
 
== IAppletSession ==
[S2] This is "nn::appletdraw::sfif::IAppletSession".
{| class="wikitable" border="1"
|-
! Cmd || Name || Notes
|-
| 1 ||  || Takes a u64. Returns a u64.
|-
| 2 ||  || Returns a handle.
|-
| 3 ||  || Takes a handle.
|-
| 10 ||  || Takes an int.
|-
| 11 ||  || Takes an int.
|-
| 12 ||  || Takes a u64. Returns an int.
|-
| 13 ||  || Takes an int. Returns an int.
|-
| 15 ||  || Takes an int. Returns an int, an int, an int.
|-
| 16 ||  || Returns an int.
|-
| 17 ||  || Takes an int. Returns an int, a u16.
|-
| 18 ||  || Takes an int. Returns 3x int, a u16.
|-
| 19 ||  || Takes an int. Returns an int, a u16.
|-
| 21 ||  || Takes an int. Returns a struct of size 0x40.
|-
| 22 ||  || Takes a struct of size 0x20. Returns a struct of size 0x40.
|-
| 23 ||  || Returns a struct of size 0xC8.
|-
| 24 ||  || Sends an ipc-buf with size 0xD8.
|-
| 31 ||  || Returns a struct with 0x28, a struct with size 0x10.
|-
| 8001 ||  || Returns a struct with 0x28, a struct with size 0x10.
|-
| 8004 ||  || Takes an int. Returns a u64.
|}
 
= (Switch 2) TipcDrawInterface =
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-