Last updated:
0 purchases
geo info
Documentation #
GetUserGeoID #
https://learn.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getusergeoid
GEOCLASS_NATION
SYSGEOTYPE #
https://learn.microsoft.com/en-us/windows/win32/api/winnls/ne-winnls-sysgeotype
GEO_NATION
Value: 0x0001
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.
copied to clipboard
GEO_LATITUDE
Value: 0x0002
The latitude of the location. This value is stored in a floating-point number.
copied to clipboard
GEO_LONGITUDE
Value: 0x0003
The longitude of the location. This value is stored in a floating-point number.
copied to clipboard
GEO_ISO2
Value: 0x0004
The ISO 2-letter country/region code. This value is stored in a string.
copied to clipboard
GEO_ISO3
Value: 0x0005
The ISO 3-letter country/region code. This value is stored in a string.
copied to clipboard
GEO_RFC1766
Value: 0x0006
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.
copied to clipboard
GEO_LCID
Value: 0x0007
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.
copied to clipboard
GEO_FRIENDLYNAME
Value: 0x0008
The friendly name of the nation, for example, Germany. This value is stored in a string.
copied to clipboard
GEO_OFFICIALNAME
Value: 0x0009
The official name of the nation, for example, Federal Republic of Germany. This value is stored in a string.
copied to clipboard
GEO_TIMEZONES
Value: 0x000A
Not implemented.
copied to clipboard
GEO_OFFICIALLANGUAGES
Value: 0x000B
Not implemented.
copied to clipboard
GEO_ISO_UN_NUMBER
Value: 0x000C
Starting with Windows 8: The ISO 3-digit country/region code. This value is stored in a string.
copied to clipboard
GEO_PARENT
Value: 0x000D
Starting with Windows 8: The geographical location identifier of the parent region of a country/region. This value is stored in a string.
copied to clipboard
GEO_DIALINGCODE
Value: 0x000E
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.
copied to clipboard
GEO_CURRENCYCODE
Value: 0x000F
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.
copied to clipboard
GEO_CURRENCYSYMBOL
Value: 0x0010
Starting with Windows 10, version 1709: The symbol for the currency that the geographic location uses. For example, the dollar sign ($).
copied to clipboard
GEO_NAME
Value: 0x0011
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).
copied to clipboard
GEO_ID
Value: 0x0012
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.
copied to clipboard
GetInfoTimeZone #
return according to the definition of your machine settings
"id": id,
"name": Hora oficial do Brasil,
"time_zones": [Brasilia]
"time_zone_name": E. South America Standard Time,
"time": 09:49:41,
"datetime": 2022-10-24T09:49:41.000
"year": 2022,
"month": 10,
"day": 24,
"utc": -3,
copied to clipboard
GET_LOCALE_NAME #
return
according to the definition of your machine settings
example: pt-BR | en-us etc...
copied to clipboard
GET_GEO_DEVICE_WIN_RT #
return
Latitude and Longitude
Check permission location
Open view enable location
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.