NS services: Difference between revisions
Line 2,659: | Line 2,659: | ||
| 7 || [1.0.0-9.2.0] [[#PrepareLaunchProgramFromHost]] | | 7 || [1.0.0-9.2.0] [[#PrepareLaunchProgramFromHost]] | ||
|- | |- | ||
| 8 || [10.0.0-17.0.1] [[#LaunchApplicationFromHost]] ([1.0.0-9.2.0] | | 8 || [10.0.0-17.0.1] [[#LaunchApplicationFromHost]] ([1.0.0-9.2.0] LaunchApplication) | ||
|- | |- | ||
| 9 || [1.0.0-17.0.1] [[# | | 9 || [1.0.0-17.0.1] [[#LaunchApplicationWithStorageId]] | ||
|- | |- | ||
| 10 || [6.0.0-8.1.0] [[#IsSystemMemoryResourceLimitBoosted]] | | 10 || [6.0.0-8.1.0] [[#IsSystemMemoryResourceLimitBoosted]] | ||
|- | |- | ||
| 11 || [6.0.0+] [[# | | 11 || [6.0.0+] [[#GetRunningApplicationProcessId]] | ||
|- | |- | ||
| 12 || [6.0.0+] [[# | | 12 || [6.0.0+] [[#SetCurrentApplicationRightsEnvironmentCanBeActive]] | ||
|- | |- | ||
| 13 || [9.0.0+] [[# | | 13 || [9.0.0+] [[#CreateApplicationResource]] | ||
|- | |- | ||
| 14 || [9.0.0+] [[# | | 14 || [9.0.0+] [[#IsPreomia]] | ||
|- | |- | ||
| 15 || [10.0.0-17.0.1] [[#GetApplicationProgramIdFromHost]] | | 15 || [10.0.0-17.0.1] [[#GetApplicationProgramIdFromHost]] | ||
Line 2,687: | Line 2,687: | ||
| 21 || [18.0.0+] [[#PrepareLaunchApplication]] | | 21 || [18.0.0+] [[#PrepareLaunchApplication]] | ||
|- | |- | ||
| 22 || [18.0.0+] [[# | | 22 || [18.0.0+] [[#LaunchApplication]] | ||
|- | |- | ||
| 23 || [18.0.0+] [[#GetProgramIdByApplicationLaunchInfo]] | | 23 || [18.0.0+] [[#GetProgramIdByApplicationLaunchInfo]] | ||
Line 2,716: | Line 2,716: | ||
Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions. | Calls [[NCM_services#IPathResolverForStorage|IPathResolverForStorage]] Set...NcaPath functions. | ||
== LaunchApplicationFromHost == | == LaunchApplicationFromHost == | ||
Takes an input u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]] and a type-0x5 input buffer containing the [[Filesystem_services#FspPath|FspPath]]. Returns an output u64 ProcessId. | Takes an input u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]] and a type-0x5 input buffer containing the [[Filesystem_services#FspPath|FspPath]]. Returns an output u64 ProcessId. | ||
== | == LaunchApplicationWithStorageId == | ||
Takes 2 input u8 [[NCM_services#StorageId|StorageIds]], an u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]], and an [[NCM_services#ApplicationId|ApplicationId]]. Returns an output u64 ProcessId. | Takes 2 input u8 [[NCM_services#StorageId|StorageIds]], an u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]], and an [[NCM_services#ApplicationId|ApplicationId]]. Returns an output u64 ProcessId. | ||
Line 2,733: | Line 2,728: | ||
No input. Returns a bool. | No input. Returns a bool. | ||
== | == GetRunningApplicationProcessId == | ||
Returns an output u64 ProcessId. | Returns an output u64 ProcessId. | ||
== | == SetCurrentApplicationRightsEnvironmentCanBeActive == | ||
Takes an input bool. No output. | Takes an input bool. No output. | ||
== | == CreateApplicationResource == | ||
Takes an input u32 (1 = Preomia/MicroApplication). Returns an [[#IApplicationResource]]. | Takes an input u32 (1 = Preomia/MicroApplication). Returns an [[#IApplicationResource]]. | ||
== | == IsPreomia == | ||
Takes an input u64 [[NCM_services#ProgramId|ProgramId]]. Returns a bool. | Takes an input u64 [[NCM_services#ProgramId|ProgramId]]. Returns a bool. | ||
Line 2,768: | Line 2,763: | ||
[19.0.0+] Now returns a total of 0x80-bytes of output. | [19.0.0+] Now returns a total of 0x80-bytes of output. | ||
== | == LaunchApplication == | ||
Takes a total of 0x50-bytes of input. Returns a total of 8-bytes of output. | Takes a total of 0x50-bytes of input. Returns a total of 8-bytes of output. | ||