1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::cfg::CTR</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/cfg/Overview.html">cfg</a>::CTR</CODE> Namespace</h1> 52<h2>Description</h2> 53 <div class="section"> 54<p>Namespace for the System Settings API. <br />(This namespace can also be written without the <CODE>::CTR</CODE> portion.)</p><p>You must call <CODE>nn::cfg::Initialize</CODE> before any other function in the <a href="../../../nn/cfg/Overview.html"><CODE>nn::cfg</CODE></a> namespace that gets System Settings.</p><!-- write here --></div> 55 <a name="struct" id="struct"> 56<h2>Structures</h2> 57 <div class="section"> 58 <table class="members"> 59 <tr> 60 <th> 61<a href="../../../nn/cfg/CTR/UserName/Overview.html"><CODE>nn::cfg::CTR::UserName</CODE></a> 62 </th> 63<td>Structure that represents the user name.</td> 64 </tr> 65 <tr> 66 <th> 67<a href="../../../nn/cfg/CTR/Birthday/Overview.html"><CODE>nn::cfg::CTR::Birthday</CODE></a> 68 </th> 69<td>Structure that represents a birthday.</td> 70 </tr> 71 <tr> 72 <th> 73<a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html"><CODE>nn::cfg::CTR::SimpleAddress</CODE></a> 74 </th> 75<td>Structure that represents simple address information.</td> 76 </tr> </table> 77 </div> 78 </a> <a name="enum" id="enum"> 79<h2>Enumerated Types</h2> 80 <div class="section"> 81 <table class="members"> 82 <tr> 83 <td width="100"> </td> 84 <th> 85<a href="../../../nn/cfg/CTR/CfgCountryCode.html"><CODE>CfgCountryCode</CODE></a> 86 </th> 87<td>Enumerated type that represents country and area codes.</td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92<a href="../../../nn/cfg/CTR/CfgLanguageCode.html"><CODE>CfgLanguageCode</CODE></a> 93 </th> 94<td>Enumerated type that represents language codes.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99<a href="../../../nn/cfg/CTR/CfgRegionCode.html"><CODE>CfgRegionCode</CODE></a> 100 </th> 101<td>Enumerated type that represents the region codes of system markets.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106<a href="../../../nn/cfg/CTR/CfgSoundOutputMode.html"><CODE>CfgSoundOutputMode</CODE></a> 107 </th> 108<td>Enumerated type that represents sound output modes.</td> 109 </tr> </table> 110 </div> 111 </a> <a name="constant" id="constant"> 112<h2>Constants</h2> 113 <div class="section"> 114 <table class="members"> 115 <tr> 116 <td width="100"> </td> 117 <th> 118<span class="argument"><a href="../../../nn/cfg/CTR/CFG_PARENTAL_CONTROL_PIN_CODE_LENGTH.html"><CODE>CFG_PARENTAL_CONTROL_PIN_CODE_LENGTH</CODE></a></span> 119 </th> 120<td width="100">const u8</td> 121<td>The string length of the Parental Controls PIN.</td> 122 </tr> 123 <tr> 124 <td width="100"> </td> 125 <th> 126<span class="argument"><a href="../../../nn/cfg/CTR/CFG_USER_NAME_LENGTH.html"><CODE>CFG_USER_NAME_LENGTH</CODE></a></span> 127 </th> 128<td width="100">const u8</td> 129<td>The maximum string length of the user name. (Including the terminator.)</td> 130 </tr> 131 <tr> 132 <td width="100"> </td> 133 <th> 134<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_COUNTRY_SHIFT.html"><CODE>CFG_SIMPLE_ADDRESS_ID_COUNTRY_SHIFT</CODE></a></span> 135 </th> 136<td width="100">const u8</td> 137<td>Indicates the country code storage location in a <CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> ID.</td> 138 </tr> 139 <tr> 140 <td width="100"> </td> 141 <th> 142<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_REGION_SHIFT.html"><CODE>CFG_SIMPLE_ADDRESS_ID_REGION_SHIFT</CODE></a></span> 143 </th> 144<td width="100">const u8</td> 145<td>Indicates the region code storage location in a <CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> ID.</td> 146 </tr> 147 <tr> 148 <td width="100"> </td> 149 <th> 150<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_COUNTRY_MASK.html"><CODE>CFG_SIMPLE_ADDRESS_ID_COUNTRY_MASK</CODE></a></span> 151 </th> 152<td width="100"><CODE>const u32</CODE></td> 153<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> ID for a country code mask.</td> 154 </tr> 155 <tr> 156 <td width="100"> </td> 157 <th> 158<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_REGION_MASK.html"><CODE>CFG_SIMPLE_ADDRESS_ID_REGION_MASK</CODE></a></span> 159 </th> 160<td width="100"><CODE>const u32</CODE></td> 161<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> ID for a region code mask.</td> 162 </tr> 163 <tr> 164 <td width="100"> </td> 165 <th> 166<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_RESERVED_MASK.html"><CODE>CFG_SIMPLE_ADDRESS_ID_RESERVED_MASK</CODE></a></span> 167 </th> 168<td width="100"><CODE>const u32</CODE></td> 169<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> ID for a reserved region mask.</td> 170 </tr> 171 <tr> 172 <td width="100"> </td> 173 <th> 174<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_NOT_DEFINED.html"><CODE>CFG_SIMPLE_ADDRESS_ID_NOT_DEFINED</CODE></a></span> 175 </th> 176<td width="100"><CODE>const u32</CODE></td> 177<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> undefined ID.</td> 178 </tr> 179 <tr> 180 <td width="100"> </td> 181 <th> 182<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED.html"><CODE>CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED</CODE></a></span> 183 </th> 184<td width="100"><CODE>const u32</CODE></td> 185<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> undefined country code.</td> 186 </tr> 187 <tr> 188 <td width="100"> </td> 189 <th> 190<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED2.html"><CODE>CFG_SIMPLE_ADDRESS_ID_COUNTRY_UNDEFINED2</CODE></a></span> 191 </th> 192<td width="100"><CODE>const u32</CODE></td> 193<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> undefined country code.</td> 194 </tr> 195 <tr> 196 <td width="100"> </td> 197 <th> 198<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED.html"><CODE>CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED</CODE></a></span> 199 </th> 200<td width="100"><CODE>const u32</CODE></td> 201<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> undefined region code.</td> 202 </tr> 203 <tr> 204 <td width="100"> </td> 205 <th> 206<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED2.html"><CODE>CFG_SIMPLE_ADDRESS_ID_REGION_UNDEFINED2</CODE></a></span> 207 </th> 208<td width="100"><CODE>const u32</CODE></td> 209<td><CODE><a href="../../../nn/cfg/CTR/SimpleAddress/Overview.html">SimpleAddress</a></CODE> undefined region code.</td> 210 </tr> 211 <tr> 212 <td width="100"> </td> 213 <th> 214<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_NUM_LANGUAGES.html"><CODE>CFG_SIMPLE_ADDRESS_NUM_LANGUAGES</CODE></a></span> 215 </th> 216<td width="100">const u8</td> 217<td>The number of languages for country/region names in simple address information.</td> 218 </tr> 219 <tr> 220 <td width="100"> </td> 221 <th> 222<span class="argument"><a href="../../../nn/cfg/CTR/CFG_SIMPLE_ADDRESS_NAME_LENGTH.html"><CODE>CFG_SIMPLE_ADDRESS_NAME_LENGTH</CODE></a></span> 223 </th> 224<td width="100">const u8</td> 225<td>The maximum string length for country/region names in simple address information.</td> 226 </tr> </table> 227 </div> 228 </a> <a name="function" id="function"> 229<h2>Functions</h2> 230 <div class="section"> 231 <table class="members"> 232 <tr> 233 <td width="100"> </td> 234 <th> 235<a href="../../../nn/cfg/CTR/Initialize.html"><CODE>Initialize</CODE></a> 236 </th> 237<td>Initializes the System Settings library.</td> 238 </tr> 239 <tr> 240 <td width="100"> </td> 241 <th> 242<a href="../../../nn/cfg/CTR/Finalize.html"><CODE>Finalize</CODE></a> 243 </th> 244<td>Finalizes the System Settings library.</td> 245 </tr> 246 <tr> 247 <td width="100"> </td> 248 <th> 249<a href="../../../nn/cfg/CTR/GetUserName.html"><CODE>GetUserName</CODE></a> 250 </th> 251<td>Gets the user name.</td> 252 </tr> 253 <tr> 254 <td width="100"> </td> 255 <th> 256<a href="../../../nn/cfg/CTR/GetBirthday.html"><CODE>GetBirthday</CODE></a> 257 </th> 258<td>Gets the birthday.</td> 259 </tr> 260 <tr> 261 <td width="100"> </td> 262 <th> 263<a href="../../../nn/cfg/CTR/GetCountry.html"><CODE>GetCountry</CODE></a> 264 </th> 265<td>Gets the country and area code.</td> 266 </tr> 267 <tr> 268 <td width="100"> </td> 269 <th> 270<a href="../../../nn/cfg/CTR/GetCountryCodeA2.html"><CODE>GetCountryCodeA2</CODE></a> 271 </th> 272<td>Converts the country and area code to ISO 3166-1 alpha-2 format. This API is fast because it returns the value in memory.</td> 273 </tr> 274 <tr> 275 <td width="100"> </td> 276 <th> 277<a href="../../../nn/cfg/CTR/GetLanguage.html"><CODE>GetLanguage</CODE></a> 278 </th> 279<td>Gets the language code.</td> 280 </tr> 281 <tr> 282 <td width="100"> </td> 283 <th> 284<a href="../../../nn/cfg/CTR/GetLanguageCodeA2.html"><CODE>GetLanguageCodeA2</CODE></a> 285 </th> 286<td>Converts a language code to ISO 639-1 alpha-2 format. This API is fast because it returns the value in memory.</td> 287 </tr> 288 <tr> 289 <td width="100"> </td> 290 <th> 291<a href="../../../nn/cfg/CTR/GetSimpleAddress.html"><CODE>GetSimpleAddress</CODE></a> 292 </th> 293<td>Gets address information.</td> 294 </tr> 295 <tr> 296 <td width="100"> </td> 297 <th> 298<a href="../../../nn/cfg/CTR/GetRegion.html"><CODE>GetRegion</CODE></a> 299 </th> 300<td>Gets the region code of the system's market.</td> 301 </tr> 302 <tr> 303 <td width="100"> </td> 304 <th> 305<a href="../../../nn/cfg/CTR/GetRegionCodeA3.html"><CODE>GetRegionCodeA3</CODE></a> 306 </th> 307<td>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.</td> 308 </tr> 309 <tr> 310 <td width="100"> </td> 311 <th> 312<a href="../../../nn/cfg/CTR/GetSoundOutputMode.html"><CODE>GetSoundOutputMode</CODE></a> 313 </th> 314<td>Gets the sound output mode.</td> 315 </tr> 316 <tr> 317 <td width="100"> </td> 318 <th> 319<a href="../../../nn/cfg/CTR/GetUserTimeOffset.html"><CODE>GetUserTimeOffset</CODE></a> 320 </th> 321<td>Gets RTC modification offset information.</td> 322 </tr> 323 <tr> 324 <td width="100"> </td> 325 <th> 326<a href="../../../nn/cfg/CTR/GetParentalControlPinCode.html"><CODE>GetParentalControlPinCode</CODE></a> 327 </th> 328<td>Obtains the Parental Controls PIN.</td> 329 </tr> 330 <tr> 331 <td width="100"> </td> 332 <th> 333<a href="../../../nn/cfg/CTR/CheckParentalControlPinCode.html"><CODE>CheckParentalControlPinCode</CODE></a> 334 </th> 335<td>Verifies the Parental Controls PIN code.</td> 336 </tr> 337 <tr> 338 <td width="100"> </td> 339 <th> 340<a href="../../../nn/cfg/CTR/IsRestrictPhotoExchange.html"><CODE>IsRestrictPhotoExchange</CODE></a> 341 </th> 342<td>Gets whether photo exchange is restricted by Parental Controls.</td> 343 </tr> 344 <tr> 345 <td width="100"> </td> 346 <th> 347<a href="../../../nn/cfg/CTR/IsRestrictAddFriend.html"><CODE>IsRestrictAddFriend</CODE></a> 348 </th> 349<td>Gets whether adding friends is restricted by Parental Controls.</td> 350 </tr> 351 <tr> 352 <td width="100"> </td> 353 <th> 354<a href="../../../nn/cfg/CTR/IsRestrictP2pInternet.html"><CODE>IsRestrictP2pInternet</CODE></a> 355 </th> 356<td>Gets whether Internet communication with other users is restricted by Parental Controls.</td> 357 </tr> 358 <tr> 359 <td width="100"> </td> 360 <th> 361<a href="../../../nn/cfg/CTR/IsRestrictP2pCec.html"><CODE>IsRestrictP2pCec</CODE></a> 362 </th> 363<td>Gets whether StreetPass communication with other users is restricted by Parental Controls.</td> 364 </tr> 365 <tr> 366 <td width="100"> </td> 367 <th> 368<a href="../../../nn/cfg/CTR/IsAgreedEula.html"><CODE>IsAgreedEula</CODE></a> 369 </th> 370<td>Obtains whether the user has agreed to the EULA.</td> 371 </tr> 372 <tr> 373 <td width="100"> </td> 374 <th> 375<a href="../../../nn/cfg/CTR/GetTransferableId.html"><CODE>GetTransferableId</CODE></a> 376 </th> 377<td>Gets the system ID.</td> 378 </tr> 379 <tr> 380 <td width="100"> </td> 381 <th> 382<a href="../../../nn/cfg/CTR/IsDlpForceImport.html"><CODE>IsDlpForceImport</CODE></a> 383 </th> 384<td>Checks whether the forced import flag for Download Play is set.</td> 385 </tr> </table> 386 </div> 387 </a> 388<h2>Revision History</h2> 389 <div class="section"> 390 <dl class="history"> 391 <dt>2010/05/27</dt> 392<dd>Initial version.<br /> 393 </dd> 394 </dl> 395 </div> 396 <hr><p>CONFIDENTIAL</p></body> 397</html> 398