Applet Manager services: Difference between revisions

Line 606: Line 606:
| 40 || [[#NotifyRunning]] ||
| 40 || [[#NotifyRunning]] ||
|-
|-
| 50 || [2.0.0+] GetPseudoDeviceId ||
| 50 || [2.0.0+] [[#GetPseudoDeviceId]] ||
|-
|-
| 60 || [2.0.0+] [[#SetMediaPlaybackStateForApplication]] ||
| 60 || [2.0.0+] [[#SetMediaPlaybackStateForApplication]] ||
Line 726: Line 726:
==== NotifyRunning ====
==== NotifyRunning ====
Takes no input. Returns an output u8 bool, which is ignored by official user-processes.
Takes no input. Returns an output u8 bool, which is ignored by official user-processes.
==== GetPseudoDeviceId ====
No input, returns an output 0x10-byte "nn::util::Uuid" struct.
The 0x20-byte output data from [[NS_Services|GetSystemSeedForPseudoDeviceId]] followed by the 8-byte [[NACP_Format|SeedForPseudoDeviceId]] from the current control.nacp, is hashed with SHA1. Then "nn::util::GenerateUuidVersion5" is called with the final hash, the output from this is then returned for the Uuid.


==== SetMediaPlaybackStateForApplication ====
==== SetMediaPlaybackStateForApplication ====