The ImmRegisterWord function registers a string into the dictionary of the IME associated with the specified keyboard layout.
BOOL ImmRegisterWord(
HKL hKL,
LPCTSR lpszReading,
DWORD dwStyle,
LPCTSTR lpszRegister
);
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in imm.h.
Import Library: Use imm32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
Input Method Editor Overview, Input Method Editor Functions