BOSSU:GetTaskPriority: Difference between revisions

From 3dbrew
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..."
 
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/RequestEntry|Header code [0x00340042]}}
{{IPC/RequestHeader|0x0034|1|2}}
{{IPC/RequestEntry|TaskID buffer size}}
{{IPC/RequestEntry|u32, Task ID size, including NULL terinator}}
{{IPC/MapPointerR|TaskID data pointer}}
{{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/RequestEntry|Header code}}
{{IPC/RequestHeader|0x0034|2|2}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|Output value}}
{{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 specified task.
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 02:12, 8 February 2025

Request

Index Word Description
0
Header 0x00340042 Cmd 0x0034 Param 1 Xlat 2
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

Index Word Description
0
Header 0x00340082 Cmd 0x0034 Param 2 Xlat 2
1 Result code
2 u8, Task priority
3 Descriptor for mapping a read-only buffer in the target process
4 Task ID buffer

Description

This loads the current state of PropertyID 0x0 (task priority) for the given task on the program ID of the current session.