IDebugSymbolProvider::GetContextFromAddress
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
This method maps a debug address into a document context.
Syntax
HRESULT GetContextFromAddress(
IDebugAddress* pAddress,
IDebugDocumentContext2** ppDocContext
);
int GetContextFromAddress(
IDebugAddress pAddress,
out IDebugDocumentContext2 ppDocContext
);
Parameters
pAddress
[in] The debug address as represented by an IDebugAddress interface.
ppDocContext
[out] Returns a document context as represented by an IDebugDocumentContext2 interface.
Return Value
If successful, returns S_OK
; otherwise, returns an error code.