#include <cafe/sci.h>

SCIStatus SCIGetParentalAccountEShopPurchase(SCIBoolean *eshop_purchase, u8 slot_no);


eshop_purchase Pointer to get state.
SCI_FORBIDDEN (SCI_TRUE) This section is forbidden.
SCI_ALLOWED (SCI_FALSE) This section is allowed.
slot_no Account slot number.

Return Values

SCI_STATUS_SUCCESS Successfully done.
SCI_STATUS_FAIL Failed to get value.
SCI_STATUS_READ_ERROR Error reading the system configuration file.
SCI_STATUS_FILE_NOT_FOUND System configuration file is not found.
SCI_STATUS_ITEM_NOT_FOUND Item is not found in the system configuration file.
SCI_STATUS_ACCOUNT_NOT_FOUND Account for the slot is not created.


Gets the permission status of "Wii U Shopping Services" from the system configuration setting file.

Initialize the ACT library before using this function.

The slot_no argument represents the account slot number obtained through the ACT library. slot_no is different from the number added to the filename of the system settings file (p_acct[X].xml). The associations between the system settings files and accounts are managed within the SCI library.
Run System Config Tool at least once before using SCI. System Config Tool automatically creates the default system setting files at startup. If you have never run System Config Tool, this function will return a SCI_STATUS_FILE_NOT_FOUND error.

Do Not Call From


See Also

System Config Tool

Revision History

2013/05/08 Automated cleanup pass.
2013/01/23 Updates for System Config Tool
2012/10/17 Modified explanation.
2012/05/09 Initial version.