UILANGUAGE_ENUMPROCA callback function

An application-defined callback function that processes enumerated user interface language information provided by the EnumUILanguages function. The UILANGUAGE_ENUMPROC type defines a pointer to this callback function. EnumUILanguagesProc is a placeholder for the application-defined function name.

Syntax

UILANGUAGE_ENUMPROCA UilanguageEnumproca;

BOOL UilanguageEnumproca(
  LPSTR Arg1,
  LONG_PTR Arg2
)
{...}

Parameters

Arg1

Arg2

Return Value

Returns TRUE to continue enumeration or FALSE otherwise.

Remarks

An EnumUILanguagesProc function can carry out any task. The application registers this function by passing its address to the EnumUILanguages function.

If MUI_LANGUAGE_ID was specified in the call to EnumUILanguages, the language strings passed to this function will be hexadecimal language

identifiers that do not include the leading 0x, and will be 4 characters in length. For example, en-US will

be passed as "0409" and en as "0009".

C# Signature

delegate System.Boolean EnumUILanguagesProc(
            System.IntPtr lpUILanguageString,
            System.IntPtr lParam
            );

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winnls.h (include Windows.h)

See Also

EnumUILanguages

Multilingual User Interface

Multilingual User Interface Functions