Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function removes a register string from the dictionary of the IME associated with the specified keyboard layout.

Syntax

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

Parameters

hKL

[in] Ignored; set to NULL. Windows Embedded CE does not support true keyboard layouts.

lpszReading

[in] Long pointer to a null-terminated string specifying the reading string associated with the string to remove.

dwStyle

[in] Style of the register string. This parameter can be IME_REGWORD_STYLE_EUDC to indicate the string is in the EUDC range, or any value in the reserved range IME_REGWORD_STYLE_USER_FIRST to IME_REGWORD_STYLE_USER_LAST to indicate a private style maintained by the specified IME.

lpszUnregister

[in] Long pointer to a null-terminated string specifying the register string to remove.

Return Value

Nonzero indicates success. Zero indicates failure.

Requirements

Header imm.h
Library Coreimm.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later