Creates a document context object corresponding to the specified character range.
Syntax
HRESULT GetContextOfPosition( ULONG cCharacterPosition, ULONG cNumChars, IDebugDocumentContext **ppsc );
Parameters
- cCharacterPosition
- [in] Integer that specifies the beginning character position of a document context range.
- cNumChars
- [in] Integer that specifies the number of characters in the document context range.
- ppsc
- [out] Address of a pointer to an IDebugDocumentContext interface.
Return Value
Returns S_OK if successful, or an error code otherwise.