Registers a string into the dictionary of the IME associated with the specified keyboard layout. Unicode implementation.
Syntax
HRESULT RegisterWordW( HKL hKL, LPWSTR szReading, DWORD dwStyle, LPWSTR szRegister );
Parameters
- hKL
- [in] Handle to the keyboard layout.
- szReading
- [in] Address of a string value that contains a null-terminated string specifying the reading string associated with the string to register.
- dwStyle
- [in] Unsigned long integer value that contains the style of the register string.
- szRegister
- [in] Address of a string value that contains a null-terminated string specifying the string to register.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmRegisterWord function documented in the Microsoft® Platform Software Development Kit (SDK).