NS services: Difference between revisions

No edit summary
No edit summary
Line 32: Line 32:
| 101 || [9.0.0+] [[#IPurchaseEventManager|CreatePermanentEcPurchasedEventManager]]
| 101 || [9.0.0+] [[#IPurchaseEventManager|CreatePermanentEcPurchasedEventManager]]
|-
|-
| 110 || [12.0.0+]
| 110 || [12.0.0+] [[#IContentsServiceManager|CreateContentsServiceManager]]
|}
|}
Cmd110: No input, returns an [[#IUnknown0]].


== IPurchaseEventManager ==
== IPurchaseEventManager ==
Line 55: Line 53:
|}
|}


== IUnknown0 ==
== IContentsServiceManager ==
This is "nn::ec::IContentsServiceManager".
 
This was added with [12.0.0+].
This was added with [12.0.0+].


Line 62: Line 62:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || [[#RequestContentsAuthorizationToken]]
|}
|}


Cmd0: Takes a total of 0x50-bytes of input, a PID, a type-0x5 input buffer, returns an [[#IUnknown1]] and an output handle.
=== RequestContentsAuthorizationToken ===
Takes a total of 0x50-bytes of input, a PID, a type-0x5 input buffer. Returns an [[#IAsyncData]] and an output handle.
 
== IAsyncData ==
This is "nn::ec::detail::IAsyncData".


== IUnknown1 ==
This was added with [12.0.0+].
This was added with [12.0.0+].


Line 74: Line 77:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetSize
|-
|-
| 1 ||  
| 1 || Get
|-
|-
| 2 ||  
| 2 || Cancel
|}
|}


Line 983: Line 986:
| 2354 || [11.0.0+] PrioritizeApplicationBackgroundTask
| 2354 || [11.0.0+] PrioritizeApplicationBackgroundTask
|-
|-
| 2355 || [12.0.0+]
| 2355 || [12.0.0+] PreferStorageEfficientUpdate
|-
|-
| 2356 || [12.0.0+]
| 2356 || [12.0.0+] RequestStorageEfficientUpdatePreferable
|-
|-
| 2400 || [8.0.0+] [[#GetPromotionInfo]]
| 2400 || [8.0.0+] [[#GetPromotionInfo]]
Line 1,648: Line 1,651:
| 802 || [[#RequestVersionListData]]
| 802 || [[#RequestVersionListData]]
|-
|-
| 900 || [12.0.0+]
| 900 || [12.0.0+] ImportAutoUpdatePolicyJsonForDebug
|-
|-
| 901 || [12.0.0+]
| 901 || [12.0.0+] ListDefaultAutoUpdatePolicy
|-
|-
| 902 || [12.0.0+]
| 902 || [12.0.0+] ListAutoUpdatePolicyForSpecificApplication
|-
|-
| 1000 || PerformAutoUpdate
| 1000 || PerformAutoUpdate
Line 1,840: Line 1,843:
| 14 || [10.0.0+] SelectApplicationLicense
| 14 || [10.0.0+] SelectApplicationLicense
|-
|-
| 15 || [12.0.0+]
| 15 || [12.0.0+] [[#RequestContentsAuthorizationToken]]
|}
|}


Line 1,879: Line 1,882:
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns an u32 "nn::ns::RunningApplicationStatus".
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns an u32 "nn::ns::RunningApplicationStatus".


==== Cmd15 ====
==== RequestContentsAuthorizationToken ====
Takes a total of 0x50-bytes of input, a type-0x5 input buffer, returns an [[#IUnknown2]] and an output handle.
Takes a total of 0x50-bytes of input, a type-0x5 input buffer. Returns an [[#IAsyncData_2|IAsyncData]] and an output handle.
 
==== IAsyncData ====
This is "nn::ns::detail::IAsyncData".


==== IUnknown2 ====
This was added with [12.0.0+].
This was added with [12.0.0+].


Line 1,889: Line 1,894:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetSize
|-
|-
| 1 ||  
| 1 || Get
|-
|-
| 2 ||  
| 2 || Cancel
|-
|-
| 3 ||  
| 3 || GetErrorContext
|}
|}


Line 2,476: Line 2,481:
| 15 || [10.0.0+] [[#GetApplicationProgramIdFromHost]]
| 15 || [10.0.0+] [[#GetApplicationProgramIdFromHost]]
|-
|-
| 16 || [12.0.0+]
| 16 || [12.0.0+] RefreshCachedDebugValues
|-
|-
| 17 || [12.0.0+]
| 17 || [12.0.0+] PrepareLaunchApplicationFromHost
|-
|-
| 18 || [12.0.0+]
| 18 || [12.0.0+] GetLaunchEvent
|-
|-
| 19 || [12.0.0+]
| 19 || [12.0.0+] GetLaunchResult
|}
|}