Changes

33 bytes removed ,  21:25, 13 August 2018
Line 992: Line 992:  
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 
|-
 
|-
| 0 || [[#LaunchProgram]] ||
+
| 0 || [[#LaunchProgram]]
 
|-
 
|-
| 1 || [[#TerminateProcess]] ||
+
| 1 || [[#TerminateProcess]]
 
|-
 
|-
| 2 || [[#TerminateProgram]] ||
+
| 2 || [[#TerminateProgram]]
 
|-
 
|-
| 3 || [[#GetShellEventHandle]] ||
+
| 4 || [[#GetShellEventHandle]]
 
|-
 
|-
| 4 || [[#GetShellEventInfo]] ||
+
| 5 || [[#GetShellEventInfo]]
 
|-
 
|-
| 5 || [[#TerminateApplication]] ||
+
| 6 || [[#TerminateApplication]]
 
|-
 
|-
| 6 || [[#PrepareLaunchProgramFromHost]] ||
+
| 7 || [[#PrepareLaunchProgramFromHost]]
 
|-
 
|-
| 7 || [[#LaunchApplication_2|#LaunchApplication]] ||
+
| 8 || [[#LaunchApplication_2|#LaunchApplication]]
 
|-
 
|-
| 8 || [[#LaunchApplicationWithStorageId]] ||
+
| 9 || [[#LaunchApplicationWithStorageId]]
|-
  −
| 9 || ? || Takes 2 input u8s, an u32, and an u64. Returns an output u64.
   
|-
 
|-
 
|}
 
|}
Line 1,035: Line 1,033:     
== PrepareLaunchProgramFromHost ==
 
== PrepareLaunchProgramFromHost ==
 +
Takes a type-0x5 input buffer containing the [[Filesystem_services|ContentPath]], returns an output 0x10-byte struct.
 +
 
Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions.
 
Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions.
    
== LaunchApplication ==
 
== LaunchApplication ==
Takes a type-0x5 input buffer containing the [[Filesystem_services|ContentPath]], returns an output 0x10-byte struct.
+
Takes an input u32 and u64, returns an output u64.
 +
 
 +
Same as LaunchApplicationWithStorageId except the last two params passed to the internal vtable funcptr call are value 0x6, instead of from the command input.
    
== LaunchApplicationWithStorageId ==
 
== LaunchApplicationWithStorageId ==
Takes an input u32 and u64, returns an output u64.
+
Takes 2 input u8s, an u32, and an u64. Returns an output u64.
 
  −
Same as cmd9 except the last two params passed to the internal vtable funcptr call are value 0x6, instead of from the command input.
      
[[Category:Services]]
 
[[Category:Services]]