###User Defined Function###
_WinAPI_IsValidLocale

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

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


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

	<strong>Windows Vista or later</strong>
	$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
@@End@@

###ReturnValue###
@@ReturnTable@@
True:	the locale identifier passes the specified validity test.
False:	the locale identifier is invalid.
@@End@@


###Remarks###
None


###Related###


###See Also###
@@MsdnLink@@ IsValidLocale
