NS services: Difference between revisions
No edit summary |
No edit summary |
||
| Line 23: | Line 23: | ||
|- | |- | ||
| 8 || [4.0.0+] GetAddOnContentListChangedEvent | | 8 || [4.0.0+] GetAddOnContentListChangedEvent | ||
|- | |||
| 9 || [10.0.0+] GetAddOnContentLostErrorCode | |||
|- | |- | ||
| 100 || [7.0.0+] [[#IPurchaseEventManager|CreateEcPurchasedEventManager]] | | 100 || [7.0.0+] [[#IPurchaseEventManager|CreateEcPurchasedEventManager]] | ||
| Line 635: | Line 637: | ||
| 104 || [9.1.0+] [[#ResetToFactorySettingsWithPlatformRegionAuthentication]] | | 104 || [9.1.0+] [[#ResetToFactorySettingsWithPlatformRegionAuthentication]] | ||
|- | |- | ||
| 105 || [10.0.0+] RequestResetToFactorySettingsSecurely | | 105 || [10.0.0+] [[#RequestResetToFactorySettingsSecurely]] | ||
|- | |- | ||
| 106 || [10.0.0+] RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely | | 106 || [10.0.0+] [[#RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely]] | ||
|- | |- | ||
| 200 || CalculateUserSaveDataStatistics | | 200 || CalculateUserSaveDataStatistics | ||
| Line 717: | Line 719: | ||
| 606 || [3.0.0+] GetContentMetaStorage | | 606 || [3.0.0+] GetContentMetaStorage | ||
|- | |- | ||
| 607 || [6.0.0+] ListAvailableAddOnContent | | 607 || [6.0.0+] [[#ListAvailableAddOnContent]] | ||
|- | |- | ||
| 700 || PushDownloadTaskList | | 700 || PushDownloadTaskList | ||
| Line 1,152: | Line 1,154: | ||
This calls [[Filesystem_services#IDeviceOperator|fsp-srv IDeviceOperator]] GetGameCardCompatibilityType and returns the result. | This calls [[Filesystem_services#IDeviceOperator|fsp-srv IDeviceOperator]] GetGameCardCompatibilityType and returns the result. | ||
==== ListAvailableAddOnContent ==== | |||
[10.0.0+] This now takes a total of 0x10-bytes of input instead of a total of 0x18-bytes of input. | |||
==== RequestDownloadTaskListData ==== | ==== RequestDownloadTaskListData ==== | ||
| Line 1,754: | Line 1,759: | ||
| 104 || [9.1.0+] [[#ResetToFactorySettingsWithPlatformRegionAuthentication]] | | 104 || [9.1.0+] [[#ResetToFactorySettingsWithPlatformRegionAuthentication]] | ||
|- | |- | ||
| 105 || [10.0.0+] RequestResetToFactorySettingsSecurely | | 105 || [10.0.0+] [[#RequestResetToFactorySettingsSecurely]] | ||
|- | |- | ||
| 106 || [10.0.0+] RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely | | 106 || [10.0.0+] [[#RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely]] | ||
|} | |} | ||
| Line 1,775: | Line 1,780: | ||
==== ResetToFactorySettingsWithPlatformRegionAuthentication ==== | ==== ResetToFactorySettingsWithPlatformRegionAuthentication ==== | ||
No input/output. | No input/output. | ||
==== RequestResetToFactorySettingsSecurely ==== | |||
Takes a total of 8-bytes of input, a handle, returns an output [[#IUnknown0]] and a handle. | |||
==== RequestResetToFactorySettingsWithPlatformRegionAuthenticationSecurely ==== | |||
Takes a total of 0x10-bytes of input, a handle, returns an output [[#IUnknown0]] and a handle. | |||
===== IUnknown0 ===== | |||
This was added with [10.0.0+]. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || | |||
|- | |||
| 1 || | |||
|- | |||
| 2 || | |||
|- | |||
| 3 || | |||
|- | |||
| 4 || | |||
|} | |||
=== IApplicationResource === | === IApplicationResource === | ||
| Line 2,204: | Line 2,233: | ||
This is "nn::ns::detail::IDevelopInterface". | This is "nn::ns::detail::IDevelopInterface". | ||
[10.0.0+] | [10.0.0+] Some of these cmds were replaced by the [[PGL_services|pgl]] system module. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
| Line 2,210: | Line 2,239: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[#LaunchProgram]] | | 0 || [1.0.0-9.2.0] [[#LaunchProgram]] | ||
|- | |- | ||
| 1 || [[#TerminateProcess]] | | 1 || [[#TerminateProcess]] | ||
|- | |- | ||
| 2 || [[#TerminateProgram]] | | 2 || [1.0.0-9.2.0] [[#TerminateProgram]] | ||
|- | |- | ||
| 4 || [[#GetShellEvent]] | | 4 || [1.0.0-9.2.0] [[#GetShellEvent]] | ||
|- | |- | ||
| 5 || [[#GetShellEventInfo]] | | 5 || [1.0.0-9.2.0] [[#GetShellEventInfo]] | ||
|- | |- | ||
| 6 || [[#TerminateApplication]] | | 6 || [[#TerminateApplication]] | ||
|- | |- | ||
| 7 || [[#PrepareLaunchProgramFromHost]] | | 7 || [1.0.0-9.2.0] [[#PrepareLaunchProgramFromHost]] | ||
|- | |- | ||
| 8 || [[#LaunchApplicationForDevelop]] | | 8 || [[#LaunchApplicationForDevelop]] | ||
| Line 2,237: | Line 2,266: | ||
|- | |- | ||
| 14 || [9.0.0+] [[#IsPreomiaForDevelop]] | | 14 || [9.0.0+] [[#IsPreomiaForDevelop]] | ||
|- | |||
| 15 || [10.0.0+] | |||
|} | |} | ||
| Line 2,264: | Line 2,295: | ||
== LaunchApplicationForDevelop == | == LaunchApplicationForDevelop == | ||
Takes an input u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]] and [[NCM_services#ApplicationId|ApplicationId]], returns an output u64 PID. | Takes an input u32 [[Process_Manager_services#LaunchFlags|LaunchFlags]] and [[NCM_services#ApplicationId|ApplicationId]], returns an output u64 PID. | ||
[10.0.0+] This now takes an input u32, a type-0x5 input buffer, and 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. | Same as LaunchApplicationWithStorageId except the last two params passed to the internal vtable funcptr call are value 0x6, instead of from the command input. | ||