LOADER:GetProgramInfo: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) GetExheader |
Steveice10 (talk | contribs) m Minor name change. |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
|- | |- | ||
| 1-2 | | 1-2 | ||
| u64, | | u64, Program Handle | ||
|} | |} | ||
| Line 37: | Line 37: | ||
| Result code | | Result code | ||
|} | |} | ||
=Description= | |||
This retrieves the [[Exheader#System_Control_Info|System Control Info]] and [[Exheader#Access_Control_Info|Access Control Info]] of a program, writing them to the output buffer. | |||
Latest revision as of 07:47, 11 October 2015
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00040080] |
| 1-2 | u64, Program Handle |
The following is located 0x100-bytes after the beginning of the above command buffer:
| Index Word | Description |
|---|---|
| 0 | (0x400 << 14) | 2 |
| 1 | u8* outBuffer (size = 0x400) |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Result code |
Description
This retrieves the System Control Info and Access Control Info of a program, writing them to the output buffer.