Retrieves information about the geographical location of the user. For more information, see Table of Geographical Locations.
GEOID GetUserGeoID(
GEOCLASS GeoClass
)
GeoClass
Type: GEOCLASS
Geographical location class to return. Possible values are defined by the SYSGEOCLASS enumeration.
Type: GEOID
Returns the geographical location identifier of the user.
If no geographical location identifier has been set for the user, the function returns GEOID_NOT_AVAILABLE.
Windows Phone 8: This API is supported.
Header: Declared in winnls.h.
Library: Use kernelx.lib.