Partager via


IDebugDocumentTextEvents2::onRemoveText

Notifies the debug package that text has been removed from the document.

HRESULT onRemoveText( 
   TEXT_POSITION pos,
   DWORD         dwNumToRemove
);
int onRemoveText( 
   enum_TEXT_POSITION pos,
   uint               dwNumToRemove
);

Parameters

  • pos
    [in] A TEXT_POSITION structure that indicates where the text was removed.

  • dwNumToRemove
    [in] Specifies the number of characters of text that were removed.

Return Value

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

See Also

Reference

IDebugDocumentTextEvents2

TEXT_POSITION