Platform SDK: International Features

ImmUnregisterWord

The ImmUnregisterWord function removes a register string from the dictionary of the IME associated with the specified input locale.

BOOL ImmUnregisterWord(
  HKL hKL,               
  LPCTSTR lpszReading,   
  DWORD dwStyle,         
  LPCTSTR lpszUnregister 
);

Parameters

hKL
[in] Input locale identifier.
lpszReading
[in] Pointer to a null-terminated string specifying the reading string associated with the string to remove.
dwStyle
[in] Specifies the style of the register string. This parameter can be any of the following.
Value Meaning
IME_REGWORD_STYLE_EUDC The string is in the EUDC range.
any value from IME_REGWORD_STYLE_USER_FIRST to IME_REGWORD_STYLE_USER_LAST The string is in a private style maintained by the specified IME.

lpszUnregister
[in] Pointer to a null-terminated string specifying the register string to remove.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Requirements

  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.

See Also

Input Method Editor Overview, Input Method Editor Functions