다음을 통해 공유


IDebugDocumentTextEvents2::onReplaceText

Notifies the debug package that text has been replaced in the document.

HRESULT onReplaceText( 
   TEXT_POSITION pos,
   DWORD         dwNumToReplace
);
int onReplaceText( 
   enum_TEXT_POSITION pos,
   uint               dwNumToReplace
);

Parameters

  • pos
    [in] A TEXT_POSITION indicates where the text was replaced.

  • dwNumToReplace
    [in] Specifies the number of characters of text that were replaced.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

Reference

IDebugDocumentTextEvents2

TEXT_POSITION