# Function Reference

# _WinAPI_EnumUILanguages

Enumerates the user interface languages that are available on the operating system

#include <WinAPILocale.au3>
_WinAPI_EnumUILanguages ( [$iFlag = 0] )

## Parameters

$iFlag | [optional] The flag identifying the language format. This parameter must be 0 or one of the following values Windows Vista or later: $MUI_LANGUAGE_ID $MUI_LANGUAGE_NAME

## Return Value

Success: | The array of the UI language identifiers or language names.
Failure: | Sets the @error flag to non-zero.

## See Also

Search EnumUILanguages in MSDN Library.

## Example

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

    Local $aData = _WinAPI_EnumUILanguages()

    _ArrayDisplay($aData, '_WinAPI_EnumUILanguages')