nn::cfg::CTR Namespace

Description

Namespace for the System Settings API.
(This namespace can also be written without the ::CTR portion.)

You must call nn::cfg::Initialize before any other function in the nn::cfg namespace that gets System Settings.

Structures

nn::cfg::CTR::UserName Structure that represents the user name.
nn::cfg::CTR::Birthday Structure representing a birthday.
nn::cfg::CTR::SimpleAddress Structure that represents simple address information.

Enumerated Types

CfgCountryCode Enumerated type that represents country and area codes.
CfgLanguageCode Enumerated type that represents language codes.
CfgRegionCode Enumerated type that represents the region codes of system markets.
CfgSoundOutputMode Enumerated type that represents sound output modes.

Constants

CFG_PARENTAL_CONTROL_PIN_CODE_LENGTH The string length of the Parental Controls PIN.
CFG_USER_NAME_LENGTH The maximum string length of the user name. (Including the terminator.)
CFG_SIMPLE_ADDRESS_ID_COUNTRY_SHIFT Indicates the country code storage location in a SimpleAddress ID.
CFG_SIMPLE_ADDRESS_ID_REGION_SHIFT Indicates the region code storage location in a SimpleAddress ID.
CFG_SIMPLE_ADDRESS_ID_COUNTRY_MASK SimpleAddress ID for a country code mask.
CFG_SIMPLE_ADDRESS_ID_REGION_MASK SimpleAddress ID for a region code mask.
CFG_SIMPLE_ADDRESS_ID_RESERVED_MASK SimpleAddress ID for a reserved region mask.
CFG_SIMPLE_ADDRESS_ID_NOT_DEFINED SimpleAddress undefined ID.
CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED SimpleAddress undefined country code.
CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED2 SimpleAddress undefined country code.
CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED SimpleAddress undefined region code.
CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED2 SimpleAddress undefined region code.
CFG_SIMPLE_ADDRESS_NUM_LANGUAGES The number of languages for country/region names in simple address information.
CFG_SIMPLE_ADDRESS_NAME_LENGTH The maximum string length for country/region names in simple address information.

Functions

Initialize Initializes the System Settings library.
Finalize Finalizes the System Settings library.
GetUserName Gets the user name.
GetBirthday Gets the birthday.
GetCountry Gets the country and area code.
GetCountryCodeA2 Converts the country and area code to ISO 3166-1 alpha-2 format. This API is fast because it returns the value in memory.
GetLanguage Gets the language code.
GetLanguageCodeA2 Converts a language code to ISO 639-1 alpha-2 format. This API is fast because it returns the value in memory.
GetSimpleAddress Gets address information.
GetRegion Gets the region code of the system's market.
GetRegionCodeA3 Converts the region code of the system's market to the corresponding three-character string. This API is fast because it returns the value in memory.
GetSoundOutputMode Gets the sound output mode.
GetUserTimeOffset Gets RTC modification offset information.
GetParentalControlPinCode Obtains the Parental Controls PIN.
IsRestrictPhotoExchange Gets whether photo exchange is restricted by Parental Controls.
IsRestrictAddFriend Gets whether adding friends is restricted by Parental Controls.
IsRestrictP2pInternet Gets whether Internet communication with other users is restricted by Parental Controls.
IsRestrictP2pCec Gets whether StreetPass with other users is restricted by Parental Controls.
IsAgreedEula Obtains whether EULA consent was given.
GetTransferableId Gets the system ID.

Revision History

2010/05/27
Initial version.

CONFIDENTIAL