IsValidLanguageGroup function (winnls.h)
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
[in] LanguageGroup
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
[in] dwFlags
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 |
---|---|
|
Determine if language group identifier is both supported and installed. |
|
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | winnls.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |