IsValidLanguageGroup function
Determines if a language group is installed or supported on the operating system. For more information, see NLS Terminology.
Syntax
BOOL IsValidLanguageGroup( _In_ LGRPID LanguageGroup, _In_ DWORD dwFlags );
Parameters
- LanguageGroup [in]
-
Identifier of language group to validate. This parameter can have one of the following values:
- LGRPID_ARABIC
- LGRPID_ARMENIAN
- LGRPID_BALTIC
- LGRPID_CENTRAL_EUROPE
- LGRPID_CYRILLIC
- LGRPID_GEORGIAN
- LGRPID_GREEK
- LGRPID_HEBREW
- LGRPID_INDIC
- LGRPID_JAPANESE
- LGRPID_KOREAN
- LGRPID_SIMPLIFIED_CHINESE
- LGRPID_TRADITIONAL_CHINESE
- LGRPID_THAI
- LGRPID_TURKIC
- LGRPID_TURKISH
- LGRPID_VIETNAMESE
- LGRPID_WESTERN_EUROPE
- dwFlags [in]
-
Flag specifying the validity test to apply to the language group identifier. This parameter can be set to one of the following values.
Value Meaning - LGRPID_INSTALLED
Determine if language group identifier is both supported and installed.
- LGRPID_SUPPORTED
Determine if language group identifier is supported.
Return value
Returns TRUE if the language group identifier passes the specified validity test, or FALSE otherwise.
Remarks
If the LGRPID_INSTALLED flag is specified and this function returns TRUE, the language group identifier is both supported and installed on the operating system.
If the LGRPID_SUPPORTED flag is specified and this function returns TRUE, the language group identifier is supported in the release, but not necessarily installed on the operating system.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- National Language Support
- National Language Support Functions
- EnumLanguageGroupLocales
- EnumSystemLanguageGroups