Windows Dev Center

Expand Minimize

EnumLanguageGroupLocalesProc callback function

An application-defined callback function that processes enumerated language group locale information provided by the EnumLanguageGroupLocales function. The LANGGROUPLOCALE_ENUMPROC type defines a pointer to this callback function. EnumLanguageGroupLocalesProc is a placeholder for the application-defined function name.

Syntax


BOOL CALLBACK EnumLanguageGroupLocalesProc(
  _In_ LGRPID   LanguageGroup,
  _In_ LCID     Locale,
  _In_ LPTSTR   lpLocaleString,
  _In_ LONG_PTR lParam
);

Parameters

LanguageGroup [in]

Identifier of the language group. 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
Locale [in]

Locale identifier that specifies the locale. You can use the MAKELCID macro to create a locale identifier or use one of the following predefined values.

Windows Vista and later: The following custom locale identifiers are also supported.

lpLocaleString [in]

Pointer to a buffer containing a null-terminated locale identifier string.

lParam [in]

Application-defined value passed to the EnumLanguageGroupLocales function. This parameter can be used for error checking.

Return value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An EnumLanguageGroupLocalesProc function can carry out any desired task. The application registers this function by passing its address to the EnumLanguageGroupLocales function.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winnls.h (include Windows.h)

See also

National Language Support
National Language Support Functions
EnumLanguageGroupLocales
EnumSystemLanguageGroups

 

 

Community Additions

ADD
Show:
© 2015 Microsoft