Compartir a través de


EnumLanguageGroupsProc callback function

An application-defined callback function that processes enumerated language group information provided by the EnumSystemLanguageGroups function. The LANGUAGEGROUP_ENUMPROC type defines a pointer to this callback function. EnumLanguageGroupsProc is a placeholder for the application-defined function name.

Syntax

BOOL CALLBACK EnumLanguageGroupsProc(
  _In_ LGRPID   LanguageGroup,
  _In_ LPTSTR   lpLanguageGroupString,
  _In_ LPTSTR   lpLanguageGroupNameString,
  _In_ DWORD    dwFlags,
  _In_ LONG_PTR lParam
);

Parameters

  • LanguageGroup [in]
    Language group identifier. 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
  • lpLanguageGroupString [in]
    Pointer to a buffer containing a null-terminated language group identifier string.

  • lpLanguageGroupNameString [in]
    Pointer to a buffer containing a null-terminated language group name string.

  • dwFlags [in]
    Flag specifying whether the language group identifier is supported or installed. This parameter can have one of the following values.

     

    Value Meaning
    LGRPID_INSTALLED

    Language group identifier is installed.

    LGRPID_SUPPORTED

    Language group identifier is both supported and installed.

     

  • lParam [in]
    Application-defined parameter. This parameter can be used for error checking.

Return value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An EnumLanguageGroupsProc function can carry out any desired task. The application registers this function by passing its address to the EnumSystemLanguageGroups 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