Prev Next

ImmEnumRegisterWord info  Overview  Group

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
Handle to the keyboard layout.
lpfnEnumProc
Pointer to the callback function. For more information, see EnumRegisterWordProc.
lpszReading
Pointer to the reading string to be enumerated. If NULL, this function enumerates all available reading strings that match with the specified dwStyle and lpszRegister.
dwStyle
Style to be enumerate. If zero, this function enumerates all available styles that match with the specified lpszReading and lpszRegister.
lpszRegister
Pointer to the register string to enumerate. If NULL, this function enumerates all register strings that match with the specified lpszReading and dwStyle.
lpData
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.

See Also

EnumRegisterWordProc