Platform SDK: International Features |
The IsValidLanguageGroup function applies a validity test to a language-group identifier. Currently, the function tests whether a language group identifier is installed or supported on the calling system.
BOOL IsValidLanguageGroup( LGRPID LanguageGroup, // language-group identifier DWORD dwFlags // validity test );
LGRPID_WESTERN_EUROPE
LGRPID_CENTRAL_EUROPE
LGRPID_BALTIC
LGRPID_GREEK
LGRPID_CYRILLIC
LGRPID_TURKISH
LGRPID_JAPANESE
LGRPID_KOREAN
LGRPID_TRADITIONAL_CHINESE
LGRPID_SIMPLIFIED_CHINESE
LGRPID_THAI
LGRPID_HEBREW
LGRPID_ARABIC
LGRPID_VIETNAMESE
LGRPID_INDIC
LGRPID_GEORGIAN
LGRPID_ARMENIAN
Value | Meaning |
---|---|
LGRPID_INSTALLED | Tests whether the language-group identifier is both supported and installed. |
LGRPID_SUPPORTED | Tests whether the language-group identifier is supported. |
If the language-group identifier passes the specified validity test, the return value is TRUE.
If the language-group identifier does not pass the specified validity test, the return value is FALSE.
If the LGRPID_INSTALLED flag is specified and this function returns TRUE, the language-group identifier is both supported and installed on the 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 system.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 98.
Header: Declared in Winnls.h; include Windows.h.
Library: Use Kernel32.lib.
National Language Support Overview, National Language Support Functions, EnumSystemLanguageGroups, EnumLanguageGroupLocales