IImeIPoint2::ReplaceCompString

This method replaces a substring in the composition buffer with a specified string.

STDMETHOD ReplaceCompString(
  INT iPos,
  INT iTargetLen,
  WCHAR* pwSzInsert,
  INT cchSzInsert,
  DWORD* lpdwCharId
);

Parameters

  • iPos
    [in] Starting character position of the substring to be replaced.
  • iTargetLen
    [in] Length of the substring to be replaced.
  • pwSzInsert
    [in] Pointer to the string that contains the replacement.
  • cchSzInsert
    [in] Length of the replacement string.
  • lpdwCharId
    [in, out] Ignored. Set the value to NULL.

Return Values

Success indicates the substring was replaced.

Requirements

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

See Also

Using the IImeIPoint2 Interface

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.