Click to return to the Component Development home page    
IDebugDocumentHelper::Get...     IDebugDocumentHelper::Ini...     IDebugDocumentHelper Inte...    
Web Workshop  |  Component Development

IDebugDocumentHelper::GetScriptBlockInfo Method


Allows an associated range and script engine to be retrieved.

Syntax

HRESULT GetScriptBlockInfo(
    DWORD dwSourceContext,
    IActiveScript **ppasd,
    ULONG *piCharPos,
    ULONG *pcChars
);

Parameters

dwSourceContext
[in] Unsigned long integer value that specifies a document context.
ppasd
[out] Address of a pointer to an IActiveScript interface.
piCharPos
[out] Address of an integer that specifies a character position in a script block.
pcChars
[out] Address of an integer that specifies the number of characters in a script block.

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.