Returns a range of characters that were added by using the IDebugDocumentHelper::AddDeferredText method, in the original host document.
[in] Host-defined cookie that represents the starting position of the text.
[in, out] A character text buffer. This method does not return characters if this parameter is NULL.
[in, out] A character attribute buffer. This method does not return attributes if this parameter is NULL.
[in, out] Indicates the actual number of characters/attributes returned. This parameter must be set to zero before calling this method.
[in] The maximum number of characters to return.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
The method succeeded.
The method is not implemented.
This method may return E_NOTIMPL, if the host does not call IDebugDocumentHelper::AddDeferredText.
This method returns the text from the original document. The host does not keep track of edits or other changes to the document.