Changes

Jump to navigation Jump to search
738 bytes added ,  08:52, 11 October 2015
GetProgramInfo
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x040300C0]
|-
| 1
| Entry Count
|-
| 2-3
| u64, Program Handle
|}

The following is located 0x100-bytes after the beginning of the above command buffer:
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| ((entryCount << 10) << 14) <nowiki>|</nowiki> 2
|-
| 1
| u8* outBuffer (size = 0x400 * entryCount)
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| 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.
1,434

edits

Navigation menu