EnumRegisterWordProc callback function

An application-defined callback function used with the ImmEnumRegisterWord function. It is used to process data of register strings. The REGISTERWORDENUMPROC type defines a pointer to this callback function. EnumRegisterWordProc is a placeholder for the application-defined function name.

Syntax


INT CALLBACK EnumRegisterWordProc(
  _In_ LPCTSTR lpszReading,
  _In_ DWORD   dwStyle,
  _In_ LPCTSTR lpszString,
  _In_ LPVOID  lpData
);

Parameters

lpszReading [in]

Pointer to a null-terminated string specifying the matched reading string.

dwStyle [in]

The style of the register string.

lpszString [in]

Pointer to a null-terminated string specifying the matched register string.

lpData [in]

Application-supplied data.

Return value

Returns a nonzero value to continue enumeration, or 0 to stop enumeration.

Remarks

An application must register this function by passing its address to the ImmEnumRegisterWord function.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Version

East Asian language support installed.

Header

Imm.h (include Windows.h)

Unicode and ANSI names

EnumRegisterWordProcW (Unicode) and EnumRegisterWordProcA (ANSI)

See also

Input Method Manager
Input Method Manager Functions
ImmEnumRegisterWord

 

 

Show: