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

IDebugDocumentHost::GetScriptTextAttributes Method


Returns the text attributes for a block of document text.

Syntax

HRESULT GetScriptTextAttributes(
    LPCOLESTR pstrCode,
    ULONG uNumCodeChars,
    LPCOLESTR pstrDelimiter,
    DWORD dwFlags,
    SOURCE_TEXT_ATTR *pattr
);

Parameters

pstrCode
[in] Address of a string that contains the script block text.
uNumCodeChars
[in] Integer that specifies the number of characters in the script block text.
pstrDelimiter
[in] Address of a string that contains the text delimiters.
dwFlags
[in] Unsigned long integer value that specifies a scriptlet flag.
pattr
[in] Address of a buffer that contains the returned attributes.

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.