函数参考


_WinAPI_EnumSystemGeoID

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

#Include <WinAPIEx.au3>
_WinAPI_EnumSystemGeoID ( )

参数

None.

返回值

Success The array of the GEOID. The zeroth array element contains the number of identifiers.
失败: 返回 0 并设置 @error 标志为非 0 值.

注意/说明

None

相关

详情参考

在MSDN中搜索


示例/演示


#Include <APIConstants.au3>
#Include <Array.au3>
#Include <WinAPIEx.au3>

Opt('MustDeclareVars', 1)

Global $Data = _WinAPI_EnumSystemGeoID()

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

_ArrayDisplay($Data, '_WinAPI_EnumSystemGeoID')