Applet Manager services: Difference between revisions
Line 1,512: | Line 1,512: | ||
= caps:su = | = caps:su = | ||
This is "nn::capsrv::sf::IScreenShotApplicationService". | |||
This was added with [[6.0.0]]. | This was added with [[6.0.0]]. | ||
This can be used by applications to save screenshots. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,520: | Line 1,524: | ||
| 32 || [7.0.0+] || Takes a total of 0x10-bytes of input and a PID, no output. | | 32 || [7.0.0+] || Takes a total of 0x10-bytes of input and a PID, no output. | ||
|- | |- | ||
| 201 || || | | 201 || SaveScreenShot || | ||
|- | |- | ||
| 203 || || | | 203 || SaveScreenShotEx0 || | ||
|- | |- | ||
| 210 || || Takes a total of 0x50-bytes of input, a type-0x15 input buffer, and a type-0x45 input buffer. Returns a total of 0x20-bytes of output. | | 210 || || Takes a total of 0x50-bytes of input, a type-0x15 input buffer, and a type-0x45 input buffer. Returns a total of 0x20-bytes of output. | ||
Line 1,528: | Line 1,532: | ||
Cmd32 is a wrapper for [[Capture_services|caps:c]] cmd33. Commands 201, 203, and 210 are wrappers for [[Display_services|caps:sc]] cmd210. | Cmd32 is a wrapper for [[Capture_services|caps:c]] cmd33. Commands 201, 203, and 210 are wrappers for [[Display_services|caps:sc]] cmd210. | ||
== SaveScreenShot == | |||
Takes two input u32s, an u64 AppletResourceUserId, a PID, and a type-0x45 input buffer. Returns a 0x20-byte struct '''ApplicationAlbumEntry'''. | |||
== SaveScreenShotEx0 == | |||
Takes an input 0x40-byte struct '''ScreenShotAttributeEx0''', an input u32, an input u64 AppletResourceUserId, a PID, and a type-0x45 input buffer. Returns a 0x20-byte struct '''ApplicationAlbumEntry'''. | |||
= Library Applets = | = Library Applets = |