NS services: Difference between revisions
No edit summary |
|||
| Line 365: | Line 365: | ||
== GetApplicationControlData == | == GetApplicationControlData == | ||
Takes an input u8 [[#ApplicationControlSource]], an [[NCM_services#ApplicationId|ApplicationId]], and a type-0x6 output buffer. Returns an output u32 for actual_size. Official user-processes use buffer size 0x24000. [[qlaunch]] only uses | Takes an input u8 [[#ApplicationControlSource]], an [[NCM_services#ApplicationId|ApplicationId]], and a type-0x6 output buffer. Returns an output u32 for actual_size. Official user-processes use buffer size 0x24000. [[qlaunch]] only uses source value 0x1 (Storage if not in cache). | ||
Loads cached [[control.nacp]] to buf+0 and the cached icon to buf+0x4000. Returns an error if the buffer is too small. | Loads cached [[control.nacp]] to buf+0 and the cached icon to buf+0x4000. Returns an error if the buffer is too small. | ||
| Line 659: | Line 659: | ||
| 307 || TerminateOverlayApplet | | 307 || TerminateOverlayApplet | ||
|- | |- | ||
| 400 || GetApplicationControlData | | 400 || [[#GetApplicationControlData]] | ||
|- | |- | ||
| 401 || InvalidateAllApplicationControlCache | | 401 || InvalidateAllApplicationControlCache | ||