ImeEnumRegisterWord

UINT WINAPI ImeEnumRegisterWord(HKL hKL, 
    REGISTERWORDENUMPROC lpfnEnumProc, LPCTSTR lpReading, DWORD dwStyle, 
    LPCTSTR lpszString, LPVOID lpData)
 

Enumerates all strings that match the given reading string, style, or registered string.

If this function is successful, the return value is the last value returned by the callback function. Its meaning is defined by the application.

hKL
Handle of the keyboard layout for the IME.
lpfnEnumProc
Address of the callback function.
lpszReading
Address of the reading string to be enumerated. If lpszReading is NULL, the function enumerates all available reading strings that match with the specified dwStyle and lpszString.
dwStyle
Style to be enumerated. If dwStyle is NULL, the function enumerates all available styles that match the specified lpszReading and lpszString.
lpszString
Registered string to be enumerated. If lpszString is NULL, this function enumerates all registered strings that match with the specified lpszReading and dwStyle.
lpData
Address of application-supplied data.

If lpszReading, dwStyle, and lpszString are all NULL, the function enumerates all registered strings in the IME's dictionary. If any two of the input parameters are NULL, the function enumerates all registered strings that match the third parameter.