NS services: Difference between revisions
No edit summary |
|||
Line 992: | Line 992: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || [[#LaunchProgram]] | | 0 || [[#LaunchProgram]] || | ||
|- | |- | ||
| 1 || [[#TerminateProcess]] | | 1 || [[#TerminateProcess]] || | ||
|- | |- | ||
| 2 || [[#TerminateProgram]] | | 2 || [[#TerminateProgram]] || | ||
|- | |- | ||
| 3 || [[#GetShellEventHandle]] | | 3 || [[#GetShellEventHandle]] || | ||
|- | |- | ||
| 4 || [[#GetShellEventInfo]] | | 4 || [[#GetShellEventInfo]] || | ||
|- | |- | ||
| 5 || [[#TerminateApplication]] | | 5 || [[#TerminateApplication]] || | ||
|- | |- | ||
| 6 || [[#PrepareLaunchProgramFromHost]] | | 6 || [[#PrepareLaunchProgramFromHost]] || | ||
|- | |- | ||
| 7 || LaunchApplication | | 7 || [[#LaunchApplication_2|#LaunchApplication]] || | ||
|- | |- | ||
| 8 || LaunchApplicationWithStorageId | | 8 || [[#LaunchApplicationWithStorageId]] || | ||
|- | |||
| 9 || ? || Takes 2 input u8s, an u32, and an u64. Returns an output u64. | |||
|- | |- | ||
|} | |} | ||
Line 1,034: | Line 1,036: | ||
== PrepareLaunchProgramFromHost == | == PrepareLaunchProgramFromHost == | ||
Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions. | Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions. | ||
== LaunchApplication == | |||
Takes a type-0x5 input buffer containing the [[Filesystem_services|ContentPath]], returns an output 0x10-byte struct. | |||
== LaunchApplicationWithStorageId == | |||
Takes an input u32 and u64, returns an output u64. | |||
[[Category:Services]] | [[Category:Services]] |