Edit

Share via


IDebugSymbolProvider::GetContextFromAddress

This method maps a debug address into a document context.

Syntax

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