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 returned 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.\
第二个参数十个回调函数,我不会使用,请你指点一下。谢谢
EnumRegisterWordProc
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.
lpszReading
[in] Pointer to a null-terminated string specifying the matched reading string.
dwStyle
[in] Specifies the style of register string.
lpszString
[in] Pointer to a null-terminated string specifying the matched register string.
lpData
[in] Application-supplied data.
Return Values
Returns a nonzero value to continue enumeration or zero to stop enumeration.
Remarks
An application must register this function by passing its address to the ImmEnumRegisterWord function.