GetUserGeoID

Retrieves information about the geographical location of the user. For more information, see Table of Geographical Locations.

Syntax

GEOID GetUserGeoID(
         GEOCLASS GeoClass
)  

Parameters

GeoClass
Type: GEOCLASS 

Geographical location class to return. Possible values are defined by the SYSGEOCLASS enumeration.

Return value

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.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header: Declared in winnls.h.

Library: Use kernelx.lib.