Used by a smart host to delegate the IDebugDocumentContext::EnumCodeContexts method.
HRESULT EnumCodeContextsOfPosition( DWORD_PTR dwSourceContext, ULONG uCharacterOffset, ULONG uNumChars, IEnumDebugCodeContexts** ppescc );
- dwSourceContext
[in] The source context as provided to IActiveScriptParse::ParseScriptText or IActiveScriptParse::AddScriptlet.
- uCharacterOffset
[in] Character offset relative to start of script text.
- uNumChars
[in] Number of characters in this context.
- ppescc
[out] An enumerator of the code contexts in the specified range.
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Value | Description |
---|---|
S_OK | The method succeeded. |
Smart hosts use this method to delegate the IDebugDocumentContext::EnumCodeContexts method.