Partager via


IImeIPoint2::ReplaceCompString (Windows CE 5.0)

Send Feedback

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

STDMETHOD ReplaceCompString(INTiPos,INTiTargetLen,WCHAR*pwSzInsert,INTcchSzInsert,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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.