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

IActiveScriptDebug::EnumCodeContextsOfPosition Method


Used by a host to delegate enumeration to IDebugDocumentContext::EnumCodeContexts.

Syntax

HRESULT EnumCodeContextsOfPosition(
    DWORD dwSourceContext,
    ULONG uCharacterOffset,
    ULONG uNumChars,
    IEnumDebugCodeContexts **ppescc
);

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 text.
uNumChars
[in] Integer that specifies the number of characters in the context.
ppescc
[out] Address of a pointer to an enumerator of code contexts.

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.