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.