Platform SDK: International Features

ImmEnumRegisterWord

The ImmEnumRegisterWord function enumerates the register strings having the specified reading string, style, and register string.

UINT ImmEnumRegisterWord(
  HKL hKL,                             
  REGISTERWORDENUMPROC lpfnEnumProc,   
  LPCTSTR lpszReading,                 
  DWORD dwStyle,                       
  LPCTSTR lpszRegister,                
  LPVOID lpData                        
);

Parameters

hKL
[in] Input locale identifier.
lpfnEnumProc
[in] Pointer to the callback function. For more information, see EnumRegisterWordProc.
lpszReading
[in] Pointer to the reading string to be enumerated. If NULL, this function enumerates all available reading strings that match the specified dwStyle and lpszRegister.
dwStyle
[in] Specifies the style to enumerate. If zero, this function enumerates all available styles that match the specified lpszReading and lpszRegister.
lpszRegister
[in] Pointer to the register string to enumerate. If NULL, this function enumerates all register strings that match the specified lpszReading and dwStyle.
lpData
[in] Pointer to the application-supplied data. The function passes this parameter to the callback function.

Return Values

Returns the last value return by the callback function. Its meaning is defined by the application. The function returns zero if it cannot enumerate the register strings.

Remarks

If dwStyle is zero and both lpszReading and lpszRegister are NULL, the ImmEnumRegisterWord function enumerates all register strings in the IME dictionary.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000.

See Also

Input Method Editor Overview, Input Method Editor Functions, EnumRegisterWordProc