ImmUnregisterWord  6B4P0ZT 

[Now Supported on Windows NT]

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

BOOL ImmUnregisterWord(

    HKL hKL,

 

    LPCTSTR lpszReading,

 

    DWORD dwStyle,

 

    LPCTSTR lpszUnregister

 

   );

 

 

Parameters

hKL

Handle to the keyboard layout.

lpszReading

Pointer to a null-terminated string specifying the reading string associated with the string to remove.

dwStyle

Style of the register string. 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

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.