IDebugSymbolProvider:: GetContextFromAddress

此方法映射一个调试地址到文档上下文。

HRESULT GetContextFromAddress( 
   IDebugAddress*           pAddress,
   IDebugDocumentContext2** ppDocContext
);
int GetContextFromAddress(
   IDebugAddress              pAddress, 
   out IDebugDocumentContext2 ppDocContext
);

参数

返回值

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

请参见

参考

IDebugSymbolProvider

IDebugAddress

IDebugDocumentContext2