BOSSU:GetNsDataHeaderInfo: Difference between revisions
Jump to navigation
Jump to search
DaniElectra (talk | contribs) Use IPC template header |
|||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0027|3|2}} | |||
{{IPC/RequestEntry|u32, NS Data ID}} | |||
{{IPC/RequestEntry|u8, [[BOSS_Services#NsDataHeaderInfo|HeaderInfoType]]}} | |||
| 0 | {{IPC/RequestEntry|u32, Buffer size}} | ||
| | {{IPC/MapPointerW|Data buffer}} | ||
| | {{IPC/RequestEnd}} | ||
| 2 | |||
| | |||
| | |||
|} | |||
=Response= | =Response= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0027|1|2}} | |||
{{IPC/RequestEntry|Result code}} | |||
{{IPC/MapPointerW|Data buffer}} | |||
| 0 | {{IPC/RequestEnd}} | ||
| | |||
=Description= | |||
| 1 | Gets information from the header of the given NS Data ID of the program ID of the current session. | ||
| Result code | |||
|} |
Latest revision as of 02:01, 7 February 2025
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, NS Data ID | ||||||||
2 | u8, HeaderInfoType | ||||||||
3 | u32, Buffer size | ||||||||
4 | Descriptor for mapping a write-only buffer in the target process | ||||||||
5 | Data buffer |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | Descriptor for mapping a write-only buffer in the target process | ||||||||
3 | Data buffer |
Description
Gets information from the header of the given NS Data ID of the program ID of the current session.