BOSSU:RegisterTask: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m →Request  | 
				DaniElectra (talk | contribs) mNo edit summary  | 
				||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
=Request=  | =Request=  | ||
{  | {{IPC/Request}}  | ||
|  | {{IPC/RequestHeader|0x000B|3|2}}  | ||
{{IPC/RequestEntry|u32, Task ID size, including NULL terminator}}  | |||
{{IPC/RequestEntry|bool, TaskOption configured}}  | |||
|  | {{IPC/RequestEntry|u8, Step ID}}  | ||
|   | {{IPC/MapPointerR|Task ID buffer}}  | ||
|   | {{IPC/RequestEnd}}  | ||
|  | |||
|   | |||
|   | |||
=Response=  | =Response=  | ||
{  | {{IPC/Request}}  | ||
{{#vardefine:ipc_offset|0}}  | |||
{{IPC/RequestHeader|0x000B|1|2}}  | |||
{{IPC/RequestEntry|Result code}}  | |||
{{IPC/MapPointerR|Task ID buffer}}  | |||
| 0  | {{IPC/RequestEnd}}  | ||
|   | |||
|  | =Description=  | ||
|   | Registers a task for the program ID of the current session and updates the BOSS savedata immediately, using information previously configured with [[BOSSU:SendProperty]].  | ||
| Result code  | |||
|}  | The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.  | ||
Latest revision as of 17:49, 1 February 2025
Request
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 | 
  | ||||||||
| 1 | u32, Task ID size, including NULL terminator | ||||||||
| 2 | bool, TaskOption configured | ||||||||
| 3 | u8, Step ID | ||||||||
| 4 | Descriptor for mapping a read-only buffer in the target process | ||||||||
| 5 | Task ID buffer | 
Response
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 | 
  | ||||||||
| 1 | Result code | ||||||||
| 2 | Descriptor for mapping a read-only buffer in the target process | ||||||||
| 3 | Task ID buffer | 
Description
Registers a task for the program ID of the current session and updates the BOSS savedata immediately, using information previously configured with BOSSU:SendProperty.
The input bool is set to true in the SDK if the application provides a TaskOption, which contains some of the properties that can be configured.