NS services: Difference between revisions
No edit summary |
|||
Line 682: | Line 682: | ||
| 96 || [6.0.0+] [[#AcquireApplicationLaunchInfo]] | | 96 || [6.0.0+] [[#AcquireApplicationLaunchInfo]] | ||
|- | |- | ||
| 97 || [6.0.0+] GetMainApplicationProgramIndexByApplicationLaunchInfo | | 97 || [6.0.0+] [[#GetMainApplicationProgramIndexByApplicationLaunchInfo]] | ||
|- | |- | ||
| 98 || [6.0.0+] EnableApplicationAllThreadDumpOnCrash | | 98 || [6.0.0+] EnableApplicationAllThreadDumpOnCrash | ||
Line 742: | Line 742: | ||
| 405 || ListApplicationControlCacheEntryInfo | | 405 || ListApplicationControlCacheEntryInfo | ||
|- | |- | ||
| 406 || [6.0.0+] GetApplicationControlProperty | | 406 || [6.0.0+] [[#GetApplicationControlProperty]] | ||
|- | |- | ||
| 407 || [8.0.0+] [[#ListApplicationTitle]] | | 407 || [8.0.0+] [[#ListApplicationTitle]] | ||
Line 1,044: | Line 1,044: | ||
| 2511 || [9.0.0+] [[#GetApplicationResource]] | | 2511 || [9.0.0+] [[#GetApplicationResource]] | ||
|- | |- | ||
| 2513 || [10.0.0+] LaunchMicroApplication ([9.0.0-9.2.0] LaunchPreomia) | | 2513 || [10.0.0+] [[#LaunchMicroApplication]] ([9.0.0-9.2.0] LaunchPreomia) | ||
|- | |- | ||
| 2514 || [9.0.0+] ClearTaskOfAsyncTaskManager | | 2514 || [9.0.0+] ClearTaskOfAsyncTaskManager | ||
Line 1,052: | Line 1,052: | ||
| 2516 || [10.0.0-14.1.2] EnsureApplicationCertificate | | 2516 || [10.0.0-14.1.2] EnsureApplicationCertificate | ||
|- | |- | ||
| 2517 || [13.0.0+] CreateApplicationInstance | | 2517 || [13.0.0+] [[#CreateApplicationInstance]] | ||
|- | |- | ||
| 2518 || [13.0.0+] UpdateQualificationForDebug | | 2518 || [13.0.0+] UpdateQualificationForDebug | ||
Line 1,097: | Line 1,097: | ||
|- | |- | ||
| 3014 || [11.0.0+] [[#IsLocalContentShareEnabled]] | | 3014 || [11.0.0+] [[#IsLocalContentShareEnabled]] | ||
|- | |||
| 3015 || [18.0.0+] | |||
|- | |- | ||
| 3050 || [14.0.0+] ListAssignELicenseTaskResult | | 3050 || [14.0.0+] ListAssignELicenseTaskResult | ||
Line 1,105: | Line 1,107: | ||
|- | |- | ||
| 3102 || [17.0.0+] ResetSafeSystemVersionCheckInfo | | 3102 || [17.0.0+] ResetSafeSystemVersionCheckInfo | ||
|- | |||
| 3104 || [18.0.0+] | |||
|- | |||
| 3105 || [18.0.0+] | |||
|- | |||
| 5000 || [18.0.0+] | |||
|- | |||
| 5001 || [18.0.0+] | |||
|- | |- | ||
| 9999 || [10.0.0-10.2.0] GetApplicationCertificate | | 9999 || [10.0.0-10.2.0] GetApplicationCertificate | ||
Line 1,204: | Line 1,214: | ||
==== LaunchApplication ==== | ==== LaunchApplication ==== | ||
Takes an input u8 ProgramIndex, an input [[#ApplicationLaunchInfo]], returns an output u64. | Takes an input u8 ProgramIndex, an input [[#ApplicationLaunchInfo]], returns an output u64. | ||
[18.0.0+] Now takes a total of 0x58 bytes of input. | |||
==== GetApplicationLaunchInfo ==== | ==== GetApplicationLaunchInfo ==== | ||
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output [[#ApplicationLaunchInfo]]. | Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output [[#ApplicationLaunchInfo]]. | ||
[18.0.0+] Now returns a total of 0x50 bytes of output. | |||
==== AcquireApplicationLaunchInfo ==== | ==== AcquireApplicationLaunchInfo ==== | ||
Line 1,212: | Line 1,226: | ||
This verifies that a state flag is set and that a state field matches the input ApplicationId, throwing an error otherwise. The [[#ApplicationLaunchInfo]] from state is copied to output, then the state flag is cleared. | This verifies that a state flag is set and that a state field matches the input ApplicationId, throwing an error otherwise. The [[#ApplicationLaunchInfo]] from state is copied to output, then the state flag is cleared. | ||
[18.0.0+] Now returns a total of 0x50 bytes of output. | |||
==== GetMainApplicationProgramIndexByApplicationLaunchInfo ==== | |||
[18.0.0+] Now takes a total of 0x50 bytes of input. | |||
==== LaunchDevMenu ==== | ==== LaunchDevMenu ==== | ||
Line 1,270: | Line 1,289: | ||
See [[#RequestApplicationUpdateInfo]] regarding nifm. | See [[#RequestApplicationUpdateInfo]] regarding nifm. | ||
==== GetApplicationControlProperty ==== | |||
[18.0.0+] Now takes a total of 0x58 bytes of input. | |||
==== ListApplicationTitle ==== | ==== ListApplicationTitle ==== | ||
Line 1,586: | Line 1,608: | ||
==== GetApplicationResource ==== | ==== GetApplicationResource ==== | ||
Takes an input u64 ProcessId and an input [[#ApplicationResourceType]]. Returns an [[#IApplicationResource]]. | Takes an input u64 ProcessId and an input [[#ApplicationResourceType]]. Returns an [[#IApplicationResource]]. | ||
==== LaunchMicroApplication ==== | |||
[18.0.0+] Now takes a total of 0x50 bytes of input. | |||
==== CreateApplicationInstance ==== | |||
[18.0.0+] Now takes a total of 0x50 bytes of input. | |||
==== RegisterDeviceLockKey ==== | ==== RegisterDeviceLockKey ==== | ||
Line 1,936: | Line 1,964: | ||
|- | |- | ||
| 25 || [14.0.0+] RequestProceedDynamicRightsState | | 25 || [14.0.0+] RequestProceedDynamicRightsState | ||
|- | |||
| 26 || [18.0.0+] | |||
|} | |} | ||
Line 2,141: | Line 2,171: | ||
|- | |- | ||
| 1202 || [4.0.0+] [[#GetSafeSystemVersion]] | | 1202 || [4.0.0+] [[#GetSafeSystemVersion]] | ||
|- | |||
| 3100 || [18.0.0+] | |||
|- | |||
| 3101 || [18.0.0+] | |||
|- | |||
| 3102 || [18.0.0+] | |||
|} | |} | ||
Line 2,565: | Line 2,601: | ||
| 7 || [1.0.0-9.2.0] [[#PrepareLaunchProgramFromHost]] | | 7 || [1.0.0-9.2.0] [[#PrepareLaunchProgramFromHost]] | ||
|- | |- | ||
| 8 || [10.0.0 | | 8 || [10.0.0-17.0.1] [[#LaunchApplicationFromHost]] ([1.0.0-9.2.0] [[#LaunchApplicationForDevelop]]) | ||
|- | |- | ||
| 9 || [[#LaunchApplicationWithStorageIdForDevelop]] | | 9 || [1.0.0-17.0.1] [[#LaunchApplicationWithStorageIdForDevelop]] | ||
|- | |- | ||
| 10 || [6.0.0-8.1.0] [[#IsSystemMemoryResourceLimitBoosted]] | | 10 || [6.0.0-8.1.0] [[#IsSystemMemoryResourceLimitBoosted]] | ||
Line 2,579: | Line 2,615: | ||
| 14 || [9.0.0+] [[#IsPreomiaForDevelop]] | | 14 || [9.0.0+] [[#IsPreomiaForDevelop]] | ||
|- | |- | ||
| 15 || [10.0.0 | | 15 || [10.0.0-17.0.1] [[#GetApplicationProgramIdFromHost]] | ||
|- | |- | ||
| 16 || [12.0.0+] RefreshCachedDebugValues | | 16 || [12.0.0+] RefreshCachedDebugValues | ||
|- | |- | ||
| 17 || [12.0.0+] PrepareLaunchApplicationFromHost | | 17 || [12.0.0+] [[#PrepareLaunchApplicationFromHost]] | ||
|- | |- | ||
| 18 || [12.0.0+] GetLaunchEvent | | 18 || [12.0.0+] [[#GetLaunchEvent]] | ||
|- | |- | ||
| 19 || [12.0.0+] GetLaunchResult | | 19 || [12.0.0+] [[#GetLaunchResult]] | ||
|- | |- | ||
| 20 || [14.0.0+] GetProgramId | | 20 || [14.0.0+] GetProgramId | ||
|- | |||
| 21 || [18.0.0+] | |||
|- | |||
| 22 || [18.0.0+] | |||
|- | |||
| 23 || [18.0.0+] | |||
|- | |||
| 24 || [18.0.0+] | |||
|} | |} | ||
Line 2,645: | Line 2,689: | ||
== GetApplicationProgramIdFromHost == | == GetApplicationProgramIdFromHost == | ||
Takes a type-0x5 input buffer containing the [[Filesystem_services#FspPath|FspPath]]. Returns an u64 [[NCM_services#ProgramId|ProgramId]]. | Takes a type-0x5 input buffer containing the [[Filesystem_services#FspPath|FspPath]]. Returns an u64 [[NCM_services#ProgramId|ProgramId]]. | ||
== PrepareLaunchApplicationFromHost == | |||
[18.0.0+] Now returns a total of 0x50 bytes of output. | |||
== GetLaunchEvent == | |||
[18.0.0+] Now takes a total of 0x50 bytes of input. | |||
== GetLaunchResult == | |||
[18.0.0+] Now takes a total of 0x50 bytes of input. | |||
= acc:su = | = acc:su = | ||
Line 2,754: | Line 2,807: | ||
|- | |- | ||
| 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | | 299 || SuspendBackgroundDaemon || Returns an [[#ISessionObject]]. | ||
|- | |||
| 400 || [18.0.0+] || | |||
|- | |||
| 401 || [18.0.0+] || | |||
|- | |||
| 402 || [18.0.0+] || | |||
|- | |||
| 410 || [18.0.0+] || | |||
|- | |||
| 411 || [18.0.0+] || | |||
|- | |||
| 412 || [18.0.0+] || | |||
|- | |- | ||
| 900 || [13.0.0+] SetUserUnqualifiedForDebug || | | 900 || [13.0.0+] SetUserUnqualifiedForDebug || | ||
Line 2,834: | Line 2,899: | ||
|- | |- | ||
| 170 || [17.0.0+] CreateDeviceHistoryRequest || | | 170 || [17.0.0+] CreateDeviceHistoryRequest || | ||
|- | |||
| 180 || [18.0.0+] || | |||
|} | |} | ||
Line 2,854: | Line 2,921: | ||
|- | |- | ||
| 15 || GetProfileImage || | | 15 || GetProfileImage || | ||
|- | |||
| 16 || [18.0.0+] || | |||
|- | |- | ||
| 21 || LoadIdTokenCache || | | 21 || LoadIdTokenCache || | ||
Line 2,926: | Line 2,995: | ||
|- | |- | ||
| 170 || [17.0.0+] CreateDeviceHistoryRequest || | | 170 || [17.0.0+] CreateDeviceHistoryRequest || | ||
|- | |||
| 180 || [18.0.0+] || | |||
|- | |- | ||
| 200 || IsRegistered || | | 200 || IsRegistered || | ||
Line 3,040: | Line 3,111: | ||
|- | |- | ||
| 103 || GetProfileImage || | | 103 || GetProfileImage || | ||
|- | |||
| 104 || [18.0.0+] || | |||
|} | |} | ||
Line 3,092: | Line 3,165: | ||
|- | |- | ||
| 11 || [[#LoadImage]] | | 11 || [[#LoadImage]] | ||
|- | |||
| 20 || [18.0.0+] | |||
|- | |||
| 21 || [18.0.0+] | |||
|- | |||
| 30 || [18.0.0+] | |||
|} | |} | ||
Line 3,122: | Line 3,201: | ||
|- | |- | ||
| 11 || [[#LoadImage]] | | 11 || [[#LoadImage]] | ||
|- | |||
| 20 || [18.0.0+] | |||
|- | |||
| 21 || [18.0.0+] | |||
|- | |||
| 30 || [18.0.0+] | |||
|- | |- | ||
| 100 || [[#Store]] | | 100 || [[#Store]] | ||
|- | |- | ||
| 101 || [[#StoreWithImage]] | | 101 || [[#StoreWithImage]] | ||
|- | |||
| 110 || [18.0.0+] | |||
|} | |} | ||
Line 3,246: | Line 3,333: | ||
|- | |- | ||
| 15 || GetProfileImage | | 15 || GetProfileImage | ||
|- | |||
| 16 || [18.0.0+] | |||
|- | |- | ||
| 21 || [3.0.0+] LoadIdTokenCache | | 21 || [3.0.0+] LoadIdTokenCache | ||
Line 3,386: | Line 3,475: | ||
|- | |- | ||
| 191 || [7.0.0+] UpdateNotificationReceiverInfo ([5.0.0-5.1.0] ActivateOpenContextHolder) || | | 191 || [7.0.0+] UpdateNotificationReceiverInfo ([5.0.0-5.1.0] ActivateOpenContextHolder) || | ||
|- | |||
| 400 || [18.0.0+] || | |||
|- | |||
| 401 || [18.0.0+] || | |||
|- | |- | ||
| 997 || [3.0.0+] DebugInvalidateTokenCacheForUser || | | 997 || [3.0.0+] DebugInvalidateTokenCacheForUser || | ||
Line 3,422: | Line 3,515: | ||
|- | |- | ||
| 103 || GetProfileImage || | | 103 || GetProfileImage || | ||
|- | |||
| 104 || [18.0.0+] || | |||
|- | |- | ||
| 110 || RegisterUserAsync || No input, returns an [[#IAsyncContext]]. | | 110 || RegisterUserAsync || No input, returns an [[#IAsyncContext]]. | ||
Line 3,436: | Line 3,531: | ||
|- | |- | ||
| 221 || [17.0.0+] RegisterUserWithProfileAsync || | | 221 || [17.0.0+] RegisterUserWithProfileAsync || | ||
|- | |||
| 230 || [18.0.0+] || | |||
|} | |} | ||