BOSSU:GetTaskState: Difference between revisions
Jump to navigation
Jump to search
DaniElectra (talk | contribs) mNo edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
{ | {{IPC/Request}} | ||
| | {{IPC/RequestHeader|0x0020|2|2}} | ||
{{IPC/RequestEntry|u32, Task ID size, including NULL terminator}} | |||
{{IPC/RequestEntry|bool, Unknown}} | |||
| | {{IPC/MapPointerR|Task ID buffer}} | ||
| | {{IPC/RequestEnd}} | ||
| | |||
| | |||
| | |||
=Response= | =Response= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0020|4|2}} | |||
{{IPC/RequestEntry|Result code}} | |||
{{IPC/RequestEntry|u8, [[BOSS_Services#TaskStatus|TaskStateCode]]}} | |||
| 0 | {{IPC/RequestEntry|u32, Count}} | ||
| | {{IPC/RequestEntry|u8, Current step ID}} | ||
| | {{IPC/MapPointerR|Task ID buffer}} | ||
| | {{IPC/RequestEnd}} | ||
| Result code | |||
=Description= | |||
Gets the state of the given task on the program ID of the current session. | |||
| u8 [[BOSS_Services| | |||
| | |||
| | |||
| | |||
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.