Changes

1,146 bytes added ,  00:31, 1 October 2013
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000D0080] |- | 1 | AppletID |- | 2 | Parameter buffer size, max size is 0x1000. ..."
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x000D0080]
|-
| 1
| AppletID
|-
| 2
| Parameter buffer size, max size is 0x1000.
|}


The following is located 0x100-bytes after the beginning of the above command buffer:
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| <nowiki>(Size<<14) | 2</nowiki>
|-
| 1
| Output parameter buffer ptr
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Result code
|-
| 2
| Unknown
|-
| 3
| Unknown
|-
| 4
| Actual parameter buffer size, this is <= to the the input size.
|-
| 5
| Value 0x10
|-
| 6
| Handle from the source process which set the parameters, this handle is likely used for shared memory(this can be 0x0).
|-
| 7
| <nowiki>(Size<<14) | 2</nowiki>
|-
| 8
| Output parameter buffer ptr
|}

=Description=
This returns the current parameter data from NS state, from the source process which set the parameters. Once finished, NS will clear a flag in the NS state so that this command will return an error if this command is used again if parameters were not set again.