Platform SDK: International Features |
The EnumLanguageGroupLocalesProc function is an application defined–callback function. It is called by the EnumLanguageGroupLocales function.
The LANGGROUPLOCALE_ENUMPROC type defines a pointer to this callback function. EnumLanguagesGroupLocalesProc is a placeholder for the application defined–function name.
BOOL CALLBACK EnumLanguageGroupLocalesProc( LGRPID LanguageGroup, // language-group identifier LCID Locale, // locale identifier LPTSTR lpLocaleString, // locale identifier string 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
To continue enumeration, the callback function should return TRUE.
To stop enumeration, the callback function should return FALSE.
An EnumLanguageGroupLocalesProc function can carry out any desired task. An application registers an EnumLanguageGroupLocalesProc function by passing its address to the EnumLanguageGroupLocales 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, EnumLanguageGroupLocales, EnumSystemLanguageGroups