NS services: Difference between revisions

Add missing interfaces
(One intermediate revision by the same user not shown)
Line 927: Line 927:
| 2402 || [8.0.0+] ListPromotionInfo
| 2402 || [8.0.0+] ListPromotionInfo
|-
|-
| 2403 || [8.0.0+] ImportPromotionJsonForDebug
| 2403 || [8.0.0+] [[#ImportPromotionJsonForDebug]]
|-
|-
| 2404 || [8.0.0+] ClearPromotionInfoForDebug
| 2404 || [8.0.0+] [[#ClearPromotionInfoForDebug]]
|-
|-
| 2500 || [8.0.0+] ConfirmAvailableTime
| 2500 || [8.0.0+] ConfirmAvailableTime
Line 978: Line 978:
==== RequestDownloadTaskListData ====
==== RequestDownloadTaskListData ====
No input, returns an output Event handle and an [[#IAsyncValue]].
No input, returns an output Event handle and an [[#IAsyncValue]].
==== GetRightsEnvironmentHandleForApplication ====
No input, returns a total of 8-bytes of output.
[9.0.0+] Now takes a total of 8-bytes of input, returns a total of 8-bytes of output.
==== RequestNoDownloadRightsErrorResolution ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]].
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]].
==== RequestResolveNoDownloadRightsError ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]].
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]].
==== CreateApplicationResource ====
Returns an [[#IApplicationResource]].
==== GetApplicationResource ====
Returns an [[#IApplicationResource]].


==== GetSystemDeliveryInfo ====
==== GetSystemDeliveryInfo ====
Line 1,124: Line 1,103:


This extracts data from the input array for hashing with SHA256, with validation being done when handling each entry.
This extracts data from the input array for hashing with SHA256, with validation being done when handling each entry.
==== GetRightsEnvironmentHandleForApplication ====
No input, returns a total of 8-bytes of output.
[9.0.0+] Now takes a total of 8-bytes of input, returns a total of 8-bytes of output.
==== RequestNoDownloadRightsErrorResolution ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]].
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]].
==== RequestResolveNoDownloadRightsError ====
Takes an input [[NCM_services#ApplicationId|ApplicationId]], returns an output Event handle and an [[#IAsyncValue]].
The data that can be read from the [[#IAsyncValue]] is [[#NoDownloadRightsErrorResolution]].
==== ImportPromotionJsonForDebug ====
Takes a type-0x5 input buffer, no output.
The output from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned.
==== ClearPromotionInfoForDebug ====
No input/output.
The output from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned.
This just clears 0xC-bytes in state.
==== CreateApplicationResource ====
Returns an [[#IApplicationResource]].
==== GetApplicationResource ====
Returns an [[#IApplicationResource]].


=== IGameCardStopper ===
=== IGameCardStopper ===