此方法映射一个调试地址到文档上下文。
HRESULT GetContextFromAddress(
IDebugAddress* pAddress,
IDebugDocumentContext2** ppDocContext
);
int GetContextFromAddress(
IDebugAddress pAddress,
out IDebugDocumentContext2 ppDocContext
);
参数
pAddress
[in] 调试地址如由 IDebugAddress 接口。ppDocContext
[out] 返回文档上下文如由 IDebugDocumentContext2 接口。
返回值
如果成功,则返回; S_OK否则,返回错误代码。