次の方法で共有


IImeIPoint2::ReplaceCompString (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header msime.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IImeIPoint2

Other Resources

Using the IImeIPoint2 Interface