1,329 bytes added
, 18:39, 6 June 2020
This is the cabinet (amiibo) applet.
See [[AM_services#Library_Applets]].
== Library Applet Versions ==
{| class="wikitable" border="1"
|-
! System Version || Value
|-
| [1.0.0+] || 0x1
|}
== AmiiboSettingsStartParam ==
This is "nn::nfp::AmiiboSettingsStartParam".
== StartParamForAmiiboSettings ==
This is "nn::nfp::StartParamForAmiiboSettings". This struct is 0x1A8-bytes.
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x1A8 ||
|}
== ReturnValueForAmiiboSettings ==
This is "nn::nfp::ReturnValueForAmiiboSettings". This struct is 0x188-bytes.
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x1 || Flags. 0 = error, non-zero = success.
|-
| 0x1 || 0x3 || Padding
|-
| 0x4 || 0x8 || [[NFC_services|nn::nfp::DeviceHandle]]
|-
| 0xC || 0x58 ||
|-
| 0x64 || 0x100 || [[NFC_services|nn::nfp::RegisterInfo]], only available when flags bit2 is set.
|-
| 0x164 || 0x24 ||
|}
== Usage ==
User-processes should push a common arguments struct as well as the [[#StartParamForAmiiboSettings]] struct. Once the applet finishes running successfully, it will return an output storage containing a [[#ReturnValueForAmiiboSettings]]. sdknso doesn't validate the storage size, an error is thrown if [[#ReturnValueForAmiiboSettings]]+0x0 is 0.
[[Category:Library Applets]]