IDebugHostModule4 接口 (dbgmodel.h)

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

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

遗产

IDebugHostModule4 接口继承自 IDebugHostModule3 接口。

方法

IDebugHostModule4 接口具有这些方法。

 
IDebugHostModule4::AddRef

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

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

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

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

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

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

FindTypeByName2 方法在模块中按名称查找类型。 如果给定了封闭符号,则按该封闭符号内的名称查找该类型;否则,将全局查找该类型。
IDebugHostModule4::GetBaseLocation

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

对符号调用 IDebugHostModule4::GetContainingModule 方法时,如果符号具有包含模块,则获取包含符号的模块。
IDebugHostModule4::GetContext

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

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

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

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

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

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

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

QueryInterface 方法检索指向对象上指定接口的指针。
IDebugHostModule4::Release

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

要求

要求 价值
标头 dbgmodel.h

另请参阅

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