Platform SDK: International Features

EnumUILanguagesProc

The EnumUILanguagesProc function is an application defined–callback function. It is called 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.

BOOL CALLBACK EnumUILanguagesProc(
  LPTSTR lpUILanguageString, // language string
  LONG_PTR lParam            // callback parameter
);

Parameters

lpUILanguageString
[in] Pointer to a buffer containing a null-terminated UI language–identifier string.
lParam
[in] Application-defined parameter passed to the EnumUILanguages function. This parameter can be used for error checking.

Return Values

To continue enumeration, the callback function should return TRUE.

To stop enumeration, the callback function should return FALSE.

Remarks

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

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Winnls.h; include Windows.h.

See Also

National Language Support Overview, National Language Support Functions, EnumUILanguages