BOSSU:GetNsDataHeaderInfo: Difference between revisions
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x002700C2] |- | 1 | ? |- | 2 | ? |- | 3 | Size |- | 4 | (Size << 4) <nowiki>|..." |
DaniElectra (talk | contribs) Use IPC template header |
||
(3 intermediate revisions by one other user not shown) | |||
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 | |||
| | |||
| | |||
| | |||
| | |||
| Data | |||
=Response= | =Response= | ||
{ | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | |||
{{IPC/RequestHeader|0x0027|1|2}} | |||
{{IPC/RequestEntry|Result code}} | |||
{{IPC/MapPointerW|Data buffer}} | |||
| 0 | {{IPC/RequestEnd}} | ||
| | |||
| | |||
| | |||
| Result code | |||
|} | |||
= | =Description= | ||
Gets information from the header of the given NS Data ID of the program ID of the current session. | |||