nn::cfg::CTR::SimpleAddress Structure

Syntax

struct SimpleAddress
{
   u32 id;
   wchar_t countryName[CFG_SIMPLE_ADDRESS_NUM_LANGUAGES][CFG_SIMPLE_ADDRESS_NAME_LENGTH];
   wchar_t regionName[CFG_SIMPLE_ADDRESS_NUM_LANGUAGES][CFG_SIMPLE_ADDRESS_NAME_LENGTH];
   u16 latitude;
   u16 longitude;
};

Description

Structure that represents simple address information.

The size of this structure is at least 4 KB. Be careful not to exhaust the stack if it is placed on the stack. The country and region names in the simple address information retrieved via the nn::cfg::CTR::GetSimpleAddress function are guaranteed to be NULL terminated.

Member Variables

id u32 Simple address information ID.
countryName wchar_t Country names in various languages.
regionName wchar_t Region names in various languages.
latitude u16 The latitude. Values 0x00000x4000 represent the range from 0 to +90 degrees; 0xC0000xFFFF represent the range from -90 to -0.005 degrees. Positive angles indicate the northern hemisphere; negative angles indicate the southern hemisphere.
longitude u16 The longitude. Values 0x00000x7FFF represent the range from 0 to +179.995 degrees; 0x80000xFFFF represent the range from -180 to -0.005 degrees. Positive angles indicate the eastern hemisphere; negative angles indicate the western hemisphere.

Revision History

2010/05/27
Initial version.

CONFIDENTIAL