Difference between revisions of "APT:SendParameter"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000C0104] |- | 1 | Unknown, same as the first unknown output field from [[APT:Re...")
 
Line 18: Line 18:
 
|-
 
|-
 
| 4
 
| 4
| Parameter buffer size, max size is 0x1000.
+
| Parameter buffer size, max size is 0x1000(this can be zero).
 
|-
 
|-
 
| 5
 
| 5

Revision as of 07:59, 1 October 2013

Request

Index Word Description
0 Header code [0x000C0104]
1 Unknown, same as the first unknown output field from APT:ReceiveParameter.
2 AppletID
3 Unknown, NS sets a state field to wordvalue & 0xffff. The second unknown field returned by APT:ReceiveParameter is this state field.
4 Parameter buffer size, max size is 0x1000(this can be zero).
5 Value 0x0
6 Handle passed to the destination process, likely used for shared memory(this can be 0x0).
7 (Size<<14) | 2
8 Input parameter buffer ptr

Response

Index Word Description
0 Header code
1 Result code

Description

This sets the parameter data state.