BOSSU:ReadNsData: Difference between revisions
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00280102] |- | 1 | ? |- | 2-3 | u64 offset |- | 4 | Size |- | 5 | (Size << 4)..." |
DaniElectra (talk | contribs) Use IPC template header |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
=Request= | =Request= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0028|4|2}} | |||
{{IPC/RequestEntry|u32, NS Data ID}} | |||
{{IPC/RequestEntryRange|2|s64, Offset}} | |||
| 0 | {{IPC/RequestEntry|u32, Buffer size}} | ||
| | {{IPC/MapPointerW|Data buffer}} | ||
{{IPC/RequestEnd}} | |||
| | |||
| | |||
| | |||
| 2 | |||
| | |||
| | |||
| Data | |||
=Response= | =Response= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0028|3|2}} | |||
{{IPC/RequestEntry|Result code}} | |||
{{IPC/RequestEntry|u32, Actual read size}} | |||
| 0 | {{IPC/RequestEntry|u32, Version of the NS Data}} | ||
| | {{IPC/MapPointerW|Data buffer}} | ||
| | {{IPC/RequestEnd}} | ||
| | |||
| Result code | =Description= | ||
| | Reads the content from the given NS Data ID of the program ID of the current session. | ||
| | |||
| | |||