nn::cfg::CTR::GetSimpleAddress Function

Syntax

#include <nn/cfg.h>

void GetSimpleAddress(
     SimpleAddress * pSimpleAddress
);

Parameters

Name Description
out pSimpleAddress Stores the obtained simple address information.

Return Values

None.

Description

Gets the simple address information (such as the country and region name) that has been set by System Settings.

The size of the SimpleAddress structure is at least 4 KB. Be careful not to exhaust the stack if it is allocated on the stack. The country and region names in the simple address information are guaranteed to be NULL-terminated.

Revision History

2011/10/11
Added more details specific to simple address information.
2010/05/27
Initial version.

CONFIDENTIAL