IDebugSymbolProvider::GetContextFromAddress

此方法将调试地址映射到文档上下文中。

语法

int GetContextFromAddress(
   IDebugAddress              pAddress,
   out IDebugDocumentContext2 ppDocContext
);

参数

pAddress
[in]由 IDebugAddress 接口表示 调试地址。

ppDocContext
[out]返回由 IDebugDocumentContext2 接口表示的文档上下文。

返回值

如果成功,则返回 S_OK;否则,返回错误代码。

另请参阅