Platform SDK: International Features |
An EnumLanguageGroupsProc function is an application defined–callback function. It is called by the EnumSystemLanguageGroups function.
The LANGUAGEGROUP_ENUMPROC type defines a pointer to this callback function. EnumLanguagesGroupsProc is a placeholder for the application defined–function name.
BOOL CALLBACK EnumLanguageGroupsProc( LGRPID LanguageGroup, // language-group identifier LPTSTR lpLanguageGroupString, // language-group identifier string LPTSTR lpLanguageGroupNameString, // language-group name string DWORD dwFlags, // options LONG_PTR lParam // callback parameter );
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 |
---|---|
LGRPIC_INSTALLED | Language group identifier is installed. |
LGRPIC_SUPPORTED | Language group identifier is both supported and installed. |
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
This function can carry out any desired task. An application registers an EnumLanguageGroupsProc function by passing its address to the EnumSystemLanguageGroups function.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Winnls.h; include Windows.h.
National Language Support Overview, National Language Support Functions, EnumSystemLanguageGroups, EnumLanguageGroupLocales