Click to return to the Component Development home page    
IDebugDocumentHost Interf...     IDebugDocumentHost::GetFi...     IDebugDocumentHost Interf...    
Web Workshop  |  Component Development

IDebugDocumentHost::GetDeferredText Method


Returns a range of characters in the original host document.

Syntax

HRESULT GetDeferredText(
    DWORD dwTextStartCookie,
    WCHAR *pcharText,
    SOURCE_TEXT_ATTR *pstrTextAttr,
    ULONG *pcNumChars
    ULONG cMaxChars
);

Parameters

dwTextStartCookie
[in] Unsigned long integer value that specifies the starting cookie of the text range.
pcharText
[in, out] Address of a character text buffer.
pstrTextAttr
[in, out] Address of a text buffer that contains the text attributes.
pcNumChars
[in] Integer that specifies the actual number of characters or attributes returned.
cMaxChar
[in] Integer that specifies the maximum number of characters to return.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.