Difference between revisions of "NIMS:SetAttribute"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B0084] |- | 1 | Length of the attribute to set (''including'' trailing NUL...")
 
(No difference)

Latest revision as of 20:31, 27 January 2017

Request[edit]

Index Word Description
0 Header code [0x000B0084]
1 Length of the attribute to set (including trailing NUL)
2 Length of the value to set (including trailing NUL if string)
3 Descriptor for static buffer (id 0)
4 Pointer to the name of the attribute in ASCII to set
5 Descriptor for static buffer (id 1)
6 Pointer to the value of the attribute to set

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Sets an attribute. The name of the attribute appears to be an ASCII string. The types of the attributes may vary (research required, only ASCII strings observed).

Attribute Value
TIN TIN (?). eShop sets this to (string!) "56789".