Function Reference


_WinAPI_EnumSystemGeoID

Enumerates the geographical location identifiers (GEOID) that are available on the operating system

#include <WinAPILocale.au3>
_WinAPI_EnumSystemGeoID ( )

Return Value

Success: The array of the GEOID. The zeroth array element contains the number of identifiers.
Failure: Sets the @error flag to non-zero.

See Also

Search EnumSystemGeoID in MSDN Library.

Example

#include <APILocaleConstants.au3>
#include <Array.au3>
#include <WinAPILocale.au3>

Local $aData = _WinAPI_EnumSystemGeoID()

If IsArray($aData) Then
        For $i = 1 To $aData[0]
                $aData[$i] = _WinAPI_GetGeoInfo($aData[$i], $GEO_FRIENDLYNAME)
        Next
EndIf

_ArrayDisplay($aData, '_WinAPI_EnumSystemGeoID')