Click to return to the Component Development home page    
IActiveScriptSiteDebug::G...     IActiveScriptSiteDebug::G...     IActiveScriptSiteDebug In...    
Web Workshop  |  Component Development

IActiveScriptSiteDebug::GetDocumentContextFromPosition Method


Used by the language engine to delegate to the IDebugCodeContext::GetDocumentContext method.

Syntax

HRESULT GetDocumentContextFromPosition(
    DWORD dwSourceContext,
    ULONG uCharacterOffset,
    ULONG uNumChars,
    IDebugDocumentContext **ppsc
); 

Parameters

dwSourceContext
[in] Unsigned long integer value that specifies a code context.
uCharacterOffset
[in] Integer that specifies the character offset relative to the start of the script block or scriptlet.
uNumChars
[in] Integer that specifies the number of characters in the context.
ppsc
[out] Address of a pointer to an IDebugDocumentContext interface.

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.