共用方式為


IDebugDocumentTextEvents2::onUpdateTextAttributes

Notifies the debug package that text attributes have been updated in the document.

HRESULT onUpdateTextAttributes( 
   TEXT_POSITION pos,
   DWORD         dwNumToUpdate
);
int onUpdateTextAttributes( 
   enum_TEXT_POSITION pos,
   uint               dwNumToUpdate
);

Parameters

  • pos
    [in] A TEXT_POSITION structure that indicates where the text attributes were updated.

  • dwNumToUpdate
    [in] Specifies the number of characters of text that were updated.

Return Value

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

See Also

Reference

IDebugDocumentTextEvents2

TEXT_POSITION