Glue services: Difference between revisions

No edit summary
No edit summary
Line 4: Line 4:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Cmd || Name || Notes
! Cmd || Name
|-
|-
| 0 || GetApplicationLaunchProperty || Takes an input u64 ProcessId, returns an [[#ApplicationLaunchProperty]]
| 0 || [[#GetApplicationLaunchProperty]]
|-
|-
| 1 || GetApplicationLaunchPropertyWithApplicationId || Takes an input u64 TitleId, returns an [[#ApplicationLaunchProperty]]
| 1 || [10.0.0+] [[#GetApplicationControlProperty]] ([1.0.0-9.2.0] [[#GetApplicationLaunchPropertyWithApplicationId]])
|-
|-
| 2 || GetApplicationControlProperty || Takes an input u64 ProcessId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]
| 2 || [10.0.0+] GetApplicationProcessProperty ([1.0.0-9.2.0] [[#GetApplicationControlProperty)]]
|-
|-
| 3 || GetApplicationControlPropertyWithApplicationId || Takes an input u64 TitleId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]
| 3 || [10.0.0+] GetApplicationInstanceId ([1.0.0-9.2.0] [[#GetApplicationControlPropertyWithApplicationId]])
|-
|-
| 9998 || [9.0.0+] GetPreomiaApplicationLaunchProperty ||
| 4 || [10.0.0+] [[#GetApplicationInstanceUnregistrationNotifier]]
|-
|-
| 9999 || [9.0.0+] GetPreomiaApplicationControlProperty ||
| 5 || [10.0.0+] ListApplicationInstanceId
|-
| 6 || [10.0.0+] GetMicroApplicationInstanceId
|-
| 7 || [10.0.0+] GetApplicationCertificate
|-
| 9998 || [9.0.0-9.2.0] GetPreomiaApplicationLaunchProperty
|-
| 9999 || [9.0.0-9.2.0] GetPreomiaApplicationControlProperty
|}
 
== GetApplicationLaunchProperty ==
Takes an input u64 ProcessId, returns an [[#ApplicationLaunchProperty]].
 
== GetApplicationLaunchPropertyWithApplicationId ==
Takes an input u64 TitleId, returns an [[#ApplicationLaunchProperty]].
 
== GetApplicationControlProperty ==
Takes an input u64 ProcessId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]
 
== GetApplicationControlPropertyWithApplicationId ==
Takes an input u64 TitleId, returns a type-0x16 buffer filled with the contents of [[NACP_Format|control.nacp]]
 
== GetApplicationInstanceUnregistrationNotifier ==
Returns an [[#IUnregistrationNotifier]].
 
== IUnregistrationNotifier ==
This is "nn::arp::detail::IUnregistrationNotifier".
 
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 || GetReadableHandle
|}
|}


Line 24: Line 57:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Cmd || Name || Notes
! Cmd || Name
|-
| 0 || [[#AcquireRegistrar]]
|-
|-
| 0 || AcquireRegistrar || Returns an [[#IRegistrar]]
| 1 || [10.0.0+] UnregisterApplicationInstance ([1.0.0-9.2.0] DeleteProperties)
|-
|-
| 1 || DeleteProperties || Takes an input u64 unknown
| 2 || [10.0.0+] [[#AcquireUpdater]]
|}
|}
== AcquireRegistrar ==
Returns an [[#IRegistrar]].
== AcquireUpdater ==
Returns an [[#IUpdater]].


== IRegistrar ==
== IRegistrar ==
Line 36: Line 77:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Cmd || Name || Notes
! Cmd || Name
|-
| 0 || [[#Issue]]
|-
| 1 || [[#SetApplicationLaunchProperty]]
|-
| 2 || [[#SetApplicationControlProperty]]
|}
 
=== Issue ===
Takes an input u64.
 
=== SetApplicationLaunchProperty ===
Takes an input [[#ApplicationLaunchProperty]].
 
=== SetApplicationControlProperty ===
Takes an input type-0x15 buffer filled with the contents of [[NACP_Format|control.nacp]].
 
== IUpdater ==
This is "nn::arp::detail::IUpdater".
 
{| class="wikitable" border="1"
|-
! Cmd || Name
|-
| 0 || Issue
|-
|-
| 0 || Issue || Takes an input u64 unknown
| 1 || SetApplicationProcessProperty
|-
|-
| 1 || SetApplicationLaunchProperty || Takes an input [[#ApplicationLaunchProperty]]
| 2 || DeleteApplicationProcessProperty
|-
|-
| 2 || SetApplicationControlProperty || Takes an input type-0x15 buffer filled with the contents of [[NACP_Format|control.nacp]]
| 3 || SetApplicationCertificate
|}
|}