Funktionreferenz


_WinAPI_EnumSystemLocales


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

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

Parameter

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

Rückgabewert

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

Bemerkungen

None.

Siehe auch

Suche nach EnumSystemLocales in der MSDN Bibliothek.

Beispiel

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

Local $aData = _WinAPI_EnumSystemLocales($LCID_INSTALLED)

_ArrayDisplay($aData, '_WinAPI_EnumSystemLocales')