Click to return to the Component Development home page    
IActiveScriptDebug::GetSc...     IActiveScriptErrorDebug I...     IActiveScriptDebug Interf...    
Web Workshop  |  Component Development

IActiveScriptDebug::GetScriptTextAttributes Method


Returns the text attributes for a script.

Syntax

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

Parameters

pstrCode
[in] Address of an OLE 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 an OLE string that contains the delimiter for script block text.
dwFlags
[In] Unsigned long integer value that specifies SOURCE_TEXT_ATTR flags.
pattr
[in] Address of a buffer to contain 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.