NS services: Difference between revisions
Line 1,601: | Line 1,601: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[#RequestApplicationRightsOnServer]] | | 0 || [[#RequestApplicationRightsOnServer]] | ||
|- | |- | ||
| 1 || RequestAssignRights | | 1 || RequestAssignRights | ||
|- | |- | ||
| 4 || DeprecatedRequestAssignRightsToResume | | 4 || DeprecatedRequestAssignRightsToResume | ||
|- | |- | ||
| 5 || VerifyActivatedRightsOwners | | 5 || VerifyActivatedRightsOwners | ||
|- | |- | ||
| 6 || DeprecatedGetApplicationRightsStatus | | 6 || DeprecatedGetApplicationRightsStatus | ||
|- | |- | ||
| 7 || RequestPrefetchForDynamicRights | | 7 || RequestPrefetchForDynamicRights | ||
|- | |- | ||
| 8 || GetDynamicRightsState | | 8 || GetDynamicRightsState | ||
|- | |- | ||
| 9 || [7.0.0+] [[#RequestApplicationRightsOnServerToResume]] | | 9 || [7.0.0+] [[#RequestApplicationRightsOnServerToResume]] | ||
|- | |- | ||
| 10 || [7.0.0+] RequestAssignRightsToResume | | 10 || [7.0.0+] RequestAssignRightsToResume | ||
|- | |- | ||
| 11 || [7.0.0+] GetActivatedRightsUsers | | 11 || [7.0.0+] GetActivatedRightsUsers | ||
|- | |- | ||
| 12 || [8.0.0+] GetApplicationRightsStatus | | 12 || [8.0.0+] GetApplicationRightsStatus | ||
|- | |- | ||
| 13 || [8.0.0+] GetRunningApplicationStatus | | 13 || [8.0.0+] GetRunningApplicationStatus | ||
|} | |} | ||
==== RequestApplicationRightsOnServer ==== | ==== RequestApplicationRightsOnServer ==== | ||
Takes a | Takes an input [[NCM_services#ApplicationId|ApplicationId]], an [[Account_services#Uid|Uid]] and an u32. Returns an output Event handle and an [[#IAsyncValue]]. | ||
==== RequestAssignRights ==== | |||
Takes a type-0x5 input buffer containing an array of "nn::ns::ApplicationRightsOnServer". Returns an output Event handle and an [[#IAsyncResult]]. | |||
==== DeprecatedRequestAssignRightsToResume ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle" and an [[Account_services#Uid|Uid]]. Returns an output Event handle and an [[#IAsyncResult]]. | |||
==== VerifyActivatedRightsOwners ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle". No output. | |||
==== DeprecatedGetApplicationRightsStatus ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns a bool "nn::ns::ApplicationRightsStatus". | |||
==== RequestPrefetchForDynamicRights ==== | |||
Takes an input [[Account_services#Uid|Uid]]. Returns an output Event handle and an [[#IAsyncResult]]. | |||
==== GetDynamicRightsState ==== | |||
No input. Returns a bool "nn::ns::DynamicRightsState". | |||
==== RequestApplicationRightsOnServerToResume ==== | ==== RequestApplicationRightsOnServerToResume ==== | ||
Takes | Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns an output Event handle and an [[#IAsyncValue]]. | ||
==== RequestAssignRightsToResume ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns an output Event handle and an [[#IAsyncResult]]. | |||
==== GetActivatedRightsUsers ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns a bool, an u32 and a type-0x6 output buffer containing an array of [[Account_services#Uid|Uid]]. | |||
==== GetApplicationRightsStatus ==== | |||
Takes an input "nn::ns::RightsEnvironmentHandle". Returns 2 bools "nn::ns::ApplicationRightsStatus" and "nn::ns::ApplicationLicenseType". | |||
==== GetRunningApplicationStatus ==== | |||
Takes an input u64 "nn::ns::RightsEnvironmentHandle". Returns an u32 "nn::ns::RunningApplicationStatus". | |||
=== IECommerceInterface=== | === IECommerceInterface=== |