IImeIPoint2::InsertImeItem

This method inserts an IME item into the composition buffer.

STDMETHOD InsertImeItem(
  IPCANDIDATE* pImeItem,
  INT iPos,
  DWORD* lpdwCharId
);

Parameters

  • pImeItem
    [in] Pointer to an IPCANDIDATE structure.
  • iPos
    [in] Insertion point of the IME item. If this parameter is to IPINS_CURRENT, the method inserts the IME item at the current insertion point, and moves the insertion point to the end of the inserted IME item. Otherwise, the method inserts the IME item at the specified position and the insertion point remains unchanged.
  • lpdwCharId
    [in, out] Ignored. Set the value to NULL.

Return Values

Success indicates that the IME item was inserted.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msime.h.
Link Library: Uuid.lib.

See Also

IPCANDIDATE

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.