BOSSU:GetTaskPriority

From 3dbrew
Revision as of 01:12, 8 February 2025 by DaniElectra (talk | contribs) (Use IPC template header)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

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[edit]

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[edit]

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