nn::cfg::CTR::SimpleAddress Structurestruct 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;
};
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.
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 0x0000–0x4000 represent the range from 0 to +90 degrees; 0xC000–0xFFFF 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 0x0000–0x7FFF represent the range from 0 to +179.995 degrees; 0x8000–0xFFFF represent the range from -180 to -0.005 degrees. Positive angles indicate the eastern hemisphere; negative angles indicate the western hemisphere. |
CONFIDENTIAL