SYSGEOTYPE enumeration

Defines the type of geographical location information requested in the GetGeoInfo or GetGeoInfoEx 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, 
  GEO_DIALINGCODE        = 0x000E, 
  GEO_CURRENCYCODE       = 0x000F, 
  GEO_CURRENCYSYMBOL     = 0x0010, 
  GEO_NAME               = 0x0011, 
  GEO_ID                 = 0x000E 

};

Constants

GEO_NATION

The geographical location identifier (GEOID) of a nation. This value is stored in a long integer.

Starting with Windows 10, version 1709: This value is not supported for the GetGeoInfoEx function, and should not be used.

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.

Starting with Windows 10, version 1709: This value is not supported for the GetGeoInfoEx function, and should not be used.

GEO_LCID

A locale identifier derived using GetGeoInfo.

Starting with Windows 10, version 1709: This value is not supported for the GetGeoInfoEx function, and should not be used.

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.

GEO_DIALINGCODE

Starting with Windows 10, version 1709: The dialing code to use with telephone numbers in the geographic location. For example, 1 for the United States.

GEO_CURRENCYCODE

Starting with Windows 10, version 1709: The three-letter code for the currency that the geographic location uses. For example, USD for United States dollars.

GEO_CURRENCYSYMBOL

Starting with Windows 10, version 1709: The symbol for the currency that the geographic location uses. For example, the dollar sign ($).

GEO_NAME

Starting with Windows 10, version 1709: The two-letter International Organization for Standardization (ISO) 3166-1 code or numeric United Nations (UN) Series M, Number 49 (M.49) code for the geographic region.

For information about two-letter ISO 3166-1 codes, see Country Codes - ISO 3166. For information about numeric UN M.49 codes, see Standard country or area codes for statistical use (M49).

GEO_ID

Starting with Windows 10, version 1709: The Windows geographical location identifiers (GEOID) for the region. This value is provided for backward compatibility. Do not use this value in new applications, but use GEO_NAME instead.

Requirements

Minimum supported client

Windows XP [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2003 [desktop apps | Windows Store apps]

Header

Winnls.h (include Windows.h)

See also

National Language Support Enumeration Types
GetGeoInfo
GetGeoInfoEx

 

 

Show: