Function Reference


_WinAPI_EnumSystemLocales

Enumerates the locales that are either installed on or supported by an operating system

#include <WinAPILocale.au3>
_WinAPI_EnumSystemLocales ( $iFlag )

Parameters

$iFlag The flag specifying the locale identifiers to enumerate.
This parameter can have one of the following values:
    $LCID_INSTALLED
    $LCID_SUPPORTED

Return Value

Success: The array of the locale identifiers.
Failure: Sets the @error flag to non-zero.

See Also

Search EnumSystemLocales in MSDN Library.

Example

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

Local $aData = _WinAPI_EnumSystemLocales($LCID_INSTALLED)

_ArrayDisplay($aData, '_WinAPI_EnumSystemLocales')