struct CCL::IGeographicRegion

Overview

#include <ilocaleinfo.h>

struct IGeographicRegion: public CCL::IUnknown
{
    // methods

    virtual StringRef CCL_API getEnglishName () const = 0;
    virtual StringRef CCL_API getNativeName () const = 0;
    virtual StringRef CCL_API getLocalizedName () const = 0;
    virtual StringRef CCL_API getISO2Code () const = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual StringRef CCL_API getEnglishName () const = 0

Get name of region in English (e.g.

“Germany”).

virtual StringRef CCL_API getNativeName () const = 0

Get name of region in native language (e.g.

“Deutschland”).

virtual StringRef CCL_API getLocalizedName () const = 0

Get name of region in system UI language.

virtual StringRef CCL_API getISO2Code () const = 0

Get ISO 3166-1 alpha-2 region code (e.g.

“DE”).