Applet Manager services: Difference between revisions

Line 3,390: Line 3,390:


= (S2) adraw:a =
= (S2) adraw:a =
This is "nn::appletdraw::sfif::IAppletRoot". This is exclusive to S2.
This is "nn::appletdraw::sfif::IAppletRoot".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 3,404: Line 3,404:
Unofficial name.  
Unofficial name.  


Takes a PID and an u64. Returns a [[#IResourceSession]].
Takes a PID and an input [[#AppletResourceUserId|AppletResourceUserId]]. Returns a [[#IResourceSession]].


== OpenAppletSession ==
== OpenAppletSession ==
Unofficial name. This is exclusive to S2.
Unofficial name.


Takes a PID and an u64. Returns a [[#IAppletSession]].
Takes a PID and an input [[#AppletResourceUserId|AppletResourceUserId]]. Returns a [[#IAppletSession]].


== IResourceSession ==
== IResourceSession ==
Line 3,418: Line 3,418:
! Cmd || Name
! Cmd || Name
|-
|-
| 1 ||  
| 1 || [[#Ping|Ping]]
|-
|-
| 10 ||   
| 10 ||   
Line 3,425: Line 3,425:
|}
|}


=== Cmd1 ===
=== Ping ===
Takes a u64. Returns a u64.
Unofficial name.
 
Takes an input u64. Returns an output u64.
 
The output u64 should match the input u64. Official software sends the current system tick value.


=== Cmd10 ===
=== Cmd10 ===
Line 3,441: Line 3,445:
! Cmd || Name
! Cmd || Name
|-
|-
| 1 ||  
| 1 || [[#Ping|Ping]]
|-
|-
| 2 ||   
| 2 ||   
|-
|-
| 3 ||
| 3 || [20.1.1+]
|-
|-
| 10 ||   
| 10 ||   
Line 3,457: Line 3,461:
| 15 ||   
| 15 ||   
|-
|-
| 16 ||
| 16 || [20.1.1+]
|-
|-
| 17 ||
| 17 || [20.1.1+]
|-
|-
| 18 ||
| 18 || [20.1.1+]
|-
|-
| 19 ||
| 19 || [20.1.1+]
|-
|-
| 21 ||   
| 21 ||   
Line 3,469: Line 3,473:
| 22 ||   
| 22 ||   
|-
|-
| 23 ||
| 23 || [20.1.1+]
|-
|-
| 24 ||
| 24 || [20.1.1+]
|-
|-
| 31 ||   
| 31 ||   
|-
|-
| 8001 ||   
| 8001 ||   
|-
| 8003 || [19.0.0-19.1.0]
|-
|-
| 8004 ||   
| 8004 ||   
|}
|}
=== Cmd1 ===
Takes a u64. Returns a u64.


=== Cmd2 ===
=== Cmd2 ===
Returns a handle.
No input. Returns an output Event handle.


=== Cmd3 ===
=== Cmd3 ===
Takes a handle.
Takes a handle. No output.


=== Cmd10 ===
=== Cmd10 ===
Takes an int.
Takes an input u32. No output.


=== Cmd11 ===
=== Cmd11 ===
Takes an int.
Takes an input u32. No output.


=== Cmd12 ===
=== Cmd12 ===
Takes a u64. Returns an int.
Takes an input u64. Returns an output u32.


=== Cmd13 ===
=== Cmd13 ===
Takes an int. Returns an int.
Takes an input u32. Returns an output u32.


=== Cmd15 ===
=== Cmd15 ===
Takes an int. Returns an int, an int, an int.
Takes an input u32. Returns three output u32s.


=== Cmd16 ===
=== Cmd16 ===
Returns an int.
No input. Returns an output u32.


=== Cmd17 ===
=== Cmd17 ===
Takes an int. Returns an int, a u16.
Takes an input u32. Returns an output u32 and an output u16.


=== Cmd18 ===
=== Cmd18 ===
Takes an int. Returns 3x int, a u16.
Takes an input u32. Returns three output u32s and an output u16.


=== Cmd19 ===
=== Cmd19 ===
Takes an int. Returns an int, a u16.
Takes an input u32. Returns an output u32 and an output u16.


=== Cmd21 ===
=== Cmd21 ===
Takes an int. Returns a struct of size 0x40.
Takes an input u32. Returns a struct of size 0x40.


=== Cmd22 ===
=== Cmd22 ===
Line 3,523: Line 3,526:


=== Cmd23 ===
=== Cmd23 ===
Returns a struct of size 0xC8.
No input. Returns a struct of size 0xC8.


=== Cmd24 ===
=== Cmd24 ===
Sends an ipc-buf with size 0xD8.
Takes an ipc-buf with size 0xD8. No output.


=== Cmd31 ===
=== Cmd31 ===
Returns a struct with 0x28, a struct with size 0x10.
No input. Returns a struct with 0x28 and a struct with size 0x10.


=== Cmd8001 ===
=== Cmd8001 ===
Returns a struct with 0x28, a struct with size 0x10.
No input. Returns a struct with size 0x28 and a struct with size 0x10.
 
=== Cmd8003 ===
Takes an input u64. Returns a struct with size 0x18.


=== Cmd8004 ===
=== Cmd8004 ===
Takes an int. Returns a u64.
Takes an input u32. Returns an output u64.


= (S2) appletOE =
= (S2) appletOE =