Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the document context that describes the position in the document that is to be made active by the debug package.
HRESULT GetDocumentContext (
IDebugDocumentContext2** ppDocContext
);
int GetDocumentContext (
out IDebugDocumentContext2 ppDocContext
);
Parameters
- ppDocContext
[out] Returns an IDebugDocumentContext2 object that represents a position in a source file document.
Remarks
This position might be used to show the caret, for example.
Return Value
If successful, returns S_OK; otherwise, returns an error code.