SYSGEOTYPE Enumeration

Defines the type of geographical location information requested in the GetGeoInfo function.

Syntax

enum SYSGEOTYPE
{
    GEO_NATION = 0x0001,
    GEO_LATITUDE = 0x0002,
    GEO_LONGITUDE = 0x0003,
    GEO_ISO2 = 0x0004,
    GEO_ISO3 = 0x0005,
    GEO_RFC1766 = 0x0006,
    GEO_LCID = 0x0007,
    GEO_FRIENDLYNAME = 0x0008,
    GEO_OFFICIALNAME = 0x0009,
    GEO_TIMEZONES = 0x000A,
    GEO_OFFICIALLANGUAGES = 0x000B,
    GEO_ISO_UN_NUMBER = 0x000C,
    GEO_PARENT = 0x000D
};  

Constants

Constant Description
GEO_NATION The geographical location identifier (GEOID) of a nation. This value is stored in a long integer.
GEO_LATITUDE The latitude of the location. This value is stored in a floating-point number.
GEO_LONGITUDE The longitude of the location. This value is stored in a floating-point number.
GEO_ISO2 The ISO 2-letter country/region code. This value is stored in a string.
GEO_ISO3 The ISO 3-letter country/region code. This value is stored in a string.
GEO_RFC1766 The name for a string, compliant with RFC 4646 (starting with Windows Vista), that is derived from the GetGeoInfo parameters language and GeoId.
GEO_LCID A locale identifier derived using GetGeoInfo.
GEO_FRIENDLYNAME The friendly name of the nation, for example, Germany. This value is stored in a string.
GEO_OFFICIALNAME The official name of the nation, for example, Federal Republic of Germany. This value is stored in a string.
GEO_TIMEZONES Not implemented.
GEO_OFFICIALLANGUAGES Not implemented.
GEO_ISO_UN_NUMBER Starting with Windows 8: The ISO 3-digit country/region code. This value is stored in a string.
GEO_PARENT Starting with Windows 8: The geographical location identifier of the parent region of a country/region. This value is stored in a string.

Requirements

Header: Declared in winnls.h.

Library: Use kernelx.lib.