Platform SDK: International Features |
The ImmRegisterWord function registers a string into the dictionary of the IME associated with the specified input locale.
BOOL ImmRegisterWord( HKL hKL, LPCTSTR lpszReading, DWORD dwStyle, LPCTSTR lpszRegister );
Value | Meaning |
---|---|
IME_REGWORD_STYLE_EUDC | The string is in the EUDC range. |
any value in the range from IME_REGWORD_STYLE_USER_FIRST to IME_REGWORD_STYLE_USER_LAST | The string has a private style maintained by the specified IME. See the Remarks section. |
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
An IME ISV can define any private styles for an IME within the IME_REGWORD_STYLE_USER_FIRST and IME_REGWORD_STYLE_USER_LAST values. For example:
#define MSIME_NOUN (IME_REGWORD_STYLE_USER_FIRST) #define MSIME_VERB (IME_REGWORD_STYLE_USER_FIRST + 1)
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.