IActiveIMMIME::UnregisterWordA method

Removes a register string from the dictionary of the Active Input Method Editor (IME) that is associated with the specified keyboard layout. (ANSI implementation).

Syntax

HRESULT UnregisterWordA(
  [in] HKL   hKL,
  [in] LPSTR szReading,
  [in] DWORD dwStyle,
  [in] LPSTR szUnregister
);

Parameters

  • hKL [in]
    A handle to the keyboard layout.

  • szReading [in]
    The address of a string value that contains a null-terminated string that specifies the reading string that is associated with the string to remove.

  • dwStyle [in]
    An unsigned long integer value that contains the style of the register string.

  • szUnregister [in]
    The address of a string value that contains a null-terminated string that specifies the register string to remove.

Return value

Returns S_OK if successful, or an error value otherwise.

Remarks

This method maps to the ImmUnregisterWord function that is documented in the Windows Software Development Kit (SDK).

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dimm.h

IDL

Dimm.idl

See also

IActiveIMMIME

UnregisterWordW