Share via


IDebugSymbolProvider::GetContextFromAddress

This method maps a debug address into a document context.

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.

See Also

Reference

IDebugSymbolProvider

IDebugAddress

IDebugDocumentContext2