nn::cfg::CTR::GetCountryCodeA2 Function

Syntax

#include <nn/cfg.h>

const char * GetCountryCodeA2(
     CfgCountryCode cfgCountryCode
);

Arguments

Name Description
in cfgCountryCode Specifies the country code.

Return Values

Returns a pointer to the string corresponding to the country code. Returns NULL if there is no corresponding string.

Description

Converts the country code to ISO 3166-1 alpha-2 format. This API is fast because it returns the value in memory.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL