Applet Manager services: Difference between revisions
No edit summary |
|||
Line 274: | Line 274: | ||
| 100 || [[#PopFloatingApplicationForDevelopment]] || | | 100 || [[#PopFloatingApplicationForDevelopment]] || | ||
|} | |} | ||
[[#CreateApplication]]/[[#CreateSystemApplication]] eventually call the same internal func. With [[#CreateApplication]], two ptrs passed to the internal func are NULL, while with [[#CreateSystemApplication]] these are loaded from state. The initial content of [[#ApplicationLaunchRequestInfo]] is all-zero with [[#CreateSystemApplication]], while with [[#CreateApplication]] the first two u32s are value 0x3 with the rest all-zero. The [[#AppletId]] is set to 0x01 with [[#CreateApplication]], while with [[#CreateSystemApplication]] it's 0x04. | |||
==== CreateApplication ==== | ==== CreateApplication ==== | ||
Line 365: | Line 367: | ||
Takes a type-0x6 output buffer. | Takes a type-0x6 output buffer. | ||
The output buffer size must be at least 0x10-bytes. Returns an error when the [[#AppletId]] is 0x04 | The output buffer size must be at least 0x10-bytes. Returns an error when the [[#AppletId]] is 0x04, aka when the IApplicationAccessor is for a SystemApplication. | ||
This gets the [[#ApplicationLaunchProperty]]. | This gets the [[#ApplicationLaunchProperty]]. | ||
Line 1,473: | Line 1,475: | ||
Takes a type-0x5 input buffer containing a string, returns an output u64 titleID. | Takes a type-0x5 input buffer containing a string, returns an output u64 titleID. | ||
Gets the application titleID for the specified ContentActionName string. Returns an error when the current [[#AppletId]] isn't 0x04 ( | Gets the application titleID for the specified ContentActionName string. Returns an error when the current [[#AppletId]] isn't 0x04 (when the current applet isn't a SystemApplication). | ||
=== SetCpuBoostMode === | === SetCpuBoostMode === | ||
Line 2,492: | Line 2,494: | ||
| 0x04 | | 0x04 | ||
| 0100000000001012 | | 0100000000001012 | ||
| "starter" | | "starter" SystemApplication. | ||
|- | |- | ||
| 0x0A | | 0x0A | ||
Line 2,821: | Line 2,823: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || Unknown. | | 0x0 || 0x4 || Unknown. 0x0 with [[#CreateSystemApplication]], 0x3 with [[#CreateApplication]]. | ||
|- | |- | ||
| 0x4 || 0x4 || Unknown. | | 0x4 || 0x4 || Unknown. 0x0 with [[#CreateSystemApplication]], 0x3 with [[#CreateApplication]]. | ||
|- | |- | ||
| 0x8 || 0x8 || Unknown. | | 0x8 || 0x8 || Unknown. The default is 0. | ||
|} | |} | ||