This topic has not yet been rated - Rate this topic

EnumUILanguagesProc callback function

Applies to: desktop apps only

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

BOOL CALLBACK EnumUILanguagesProc(
  __in  LPTSTR lpUILanguageString,
  __in  LONG_PTR lParam
);

Parameters

lpUILanguageString [in]

Pointer to a buffer containing a null-terminated string representing a user interface language identifier or language name, depending on the value for the dwFlags parameter passed in the call to EnumUILanguages.

lParam [in]

Application-defined value.

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

Minimum supported server

Windows 2000 Server

Header

Winnls.h (include Windows.h)

See also

Multilingual User Interface
Multilingual User Interface Functions
EnumUILanguages

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ