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.