Difference between revisions of "BOSSU:GetTaskPriority"
Jump to navigation
Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00340042]}} {{IPC/RequestEntry|TaskID buffer size}} {{IPC/MapPointerR|TaskID data point...") |
DaniElectra (talk | contribs) (Use IPC template header) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
− | {{IPC/ | + | {{IPC/RequestHeader|0x0034|1|2}} |
− | {{IPC/RequestEntry| | + | {{IPC/RequestEntry|u32, Task ID size, including NULL terinator}} |
− | {{IPC/MapPointerR| | + | {{IPC/MapPointerR|Task ID buffer}} |
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Line 10: | Line 10: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
− | {{IPC/ | + | {{IPC/RequestHeader|0x0034|2|2}} |
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
− | {{IPC/RequestEntry| | + | {{IPC/RequestEntry|u8, Task priority}} |
+ | {{IPC/MapPointerR|Task ID buffer}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
=Description= | =Description= | ||
− | This loads the current state of PropertyID 0x0 for the | + | This loads the current state of PropertyID 0x0 (task priority) for the given task on the program ID of the current session. |
Latest revision as of 01:12, 8 February 2025
Request[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, Task ID size, including NULL terinator | ||||||||
2 | Descriptor for mapping a read-only buffer in the target process | ||||||||
3 | Task ID buffer |
Response[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | u8, Task priority | ||||||||
3 | Descriptor for mapping a read-only buffer in the target process | ||||||||
4 | Task ID buffer |
Description[edit]
This loads the current state of PropertyID 0x0 (task priority) for the given task on the program ID of the current session.