IDebugHostModule3 接口 (dbgmodel.h)

特定模块的 (IDebugHostSymbol 派生)接口的版本 3。

此版本 3 的接口支持具有相同签名的所有以前的方法,并包括提供新增功能的其他新方法。 新方法列在该接口的节末尾的标头中。

遗产

IDebugHostModule3 接口继承自 IDebugHostModule2 接口。

方法

IDebugHostModule3 接口具有这些方法。

 
IDebugHostModule3::AddRef

AddRef 方法递增模块的引用计数。
IDebugHostModule3::EnumerateChildren

IDebugHostModule3::EnumerateChildren 方法获取能够枚举给定符号的所有子级的枚举器。
IDebugHostModule3::FindContainingSymbolByRVA

在模块上调用 FindSymbolByRVA 方法时,检索模块内给定相对虚拟地址处的符号。
IDebugHostModule3::FindSymbolByName

在模块上调用 IDebugHostModule3::FindSymbolByName 方法时,按名称从模块内检索全局符号。
IDebugHostModule3::FindSymbolByRVA

在模块上调用时,IDebugHostModule3::FindSymbolByRVA 方法检索模块内给定相对虚拟地址处的符号。
IDebugHostModule3::FindTypeByName

在模块上调用 IDebugHostModule3::FindTypeByName 方法时,从模块中按类型名称查找类型并检索其类型符号。
IDebugHostModule3::GetBaseLocation

在模块上调用 IDebugHostModule3::GetBaseLocation 方法时,获取模块的基本加载地址作为位置结构。
IDebugHostModule3::GetContainingModule

在对符号调用时,IDebugHostModule3::GetContainingModule 方法获取包含符号的模块(如果该符号具有包含模块)。
IDebugHostModule3::GetContext

在对符号调用时,IDebugHostModule3::GetContext 方法获取符号所在的主机上下文。
IDebugHostModule3::GetImageName

IDebugHostModule3::GetImageName 方法将模块的图像名称或完整路径作为分配的字符串获取。
IDebugHostModule3::GetName

在符号上调用 IDebugHostModule3::GetName 方法时,如果符号具有名称,则获取符号的名称。
IDebugHostModule3::GetRange

GetRange 方法检索内存中模块的开始和结束虚拟地址(VA)。
IDebugHostModule3::GetSymbolKind

在符号上调用 GetSymbolKind 方法时,获取字段、基类或类型等符号类型。
IDebugHostModule3::GetType

在符号上调用 IDebugHostModule3::GetType 方法时,获取符号的类型,例如 int *。
IDebugHostModule3::GetVersion

在模块上调用 GetVersion 方法时,从模块标头获取模块版本信息。
IDebugHostModule3::QueryInterface

IDebugHostModule3::QueryInterface 方法检索指向模块支持的接口的指针。
IDebugHostModule3::Release

IDebugHostModule3::Release 方法会减少模块对象的引用计数。

要求

要求 价值
标头 dbgmodel.h

另请参阅

调试器数据模型C++概述