EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

GetUserGeoID function

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

Syntax


GEOID GetUserGeoID(
  _In_  GEOCLASS GeoClass
);

Parameters

GeoClass [in]

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

Return value

Returns the geographical location identifier of the user if SetUserGeoID has been called before to set the identifier.

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.

Windows Phone 8.1: This API is supported.

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)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

National Language Support
National Language Support Functions
SetUserGeoID
SYSGEOCLASS

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft