Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Used by a smart host to delegate the IDebugDocumentContext::EnumCodeContexts method.
Syntax
HRESULT EnumCodeContextsOfPosition(
DWORD_PTR dwSourceContext,
ULONG uCharacterOffset,
ULONG uNumChars,
IEnumDebugCodeContexts** ppescc
);
Parameters
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.
Return Value
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. |
Remarks
Smart hosts use this method to delegate the IDebugDocumentContext::EnumCodeContexts method.
See also
IActiveScriptDebug Interface
IDebugDocumentContext::EnumCodeContexts