Function Reference


_WinAPI_IsValidLocale

Determines if the specified locale is installed or supported on the operating system

#include <WinAPILocale.au3>
_WinAPI_IsValidLocale ( $iLCID [, $iFlag = 0] )

Parameters

$iLCID The locale identifier (LCID) that specifies the locale or one of the following predefined values.
$LOCALE_INVARIANT
$LOCALE_SYSTEM_DEFAULT
$LOCALE_USER_DEFAULT

Windows Vista or later
$LOCALE_CUSTOM_DEFAULT
$LOCALE_CUSTOM_UI_DEFAULT
$LOCALE_CUSTOM_UNSPECIFIED
$iFlag [optional] Flag specifying the validity test to apply to the locale identifier.
This parameter can have one of the following values.
$LCID_INSTALLED
$LCID_SUPPORTED

Return Value

True: the locale identifier passes the specified validity test.
False: the locale identifier is invalid.

See Also

Search IsValidLocale in MSDN Library.