BOSSU:GetTaskState: Difference between revisions
Jump to navigation
Jump to search
DaniElectra (talk | contribs) m Use IPC template header |
DaniElectra (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
{{IPC/RequestHeader|0x0020| | {{IPC/RequestHeader|0x0020|4|2}} | ||
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/RequestEntry|u8, [[BOSS_Services#TaskStatus|TaskStateCode]]}} | {{IPC/RequestEntry|u8, [[BOSS_Services#TaskStatus|TaskStateCode]]}} |
Latest revision as of 01:02, 2 February 2025
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, Task ID size, including NULL terminator | ||||||||
2 | bool, Unknown | ||||||||
3 | Descriptor for mapping a read-only buffer in the target process | ||||||||
4 | Task ID buffer |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | u8, TaskStateCode | ||||||||
3 | u32, Count | ||||||||
4 | u8, Current step ID | ||||||||
5 | Descriptor for mapping a read-only buffer in the target process | ||||||||
6 | Task ID buffer |
Description
Gets the state of the given task on the program ID of the current session.