特定模块的 (IDebugHostSymbol 派生)接口的版本 5。
此版本 5 的接口支持具有相同签名的所有以前的方法,并包括提供新增功能的其他新方法。 新方法列在该接口的节末尾的标头中。
遗产
IDebugHostModule5 接口继承自 IDebugHostModule4 接口。
方法
IDebugHostModule5 接口具有这些方法。
IDebugHostModule5::AddRef AddRef 方法递增模块的引用计数。 |
IDebugHostModule5::EnumerateChildren IDebugHostModule5::EnumerateChildren 方法获取能够枚举给定符号的所有子级的枚举器。 |
IDebugHostModule5::FindContainingSymbolByRVA 在模块上调用 FindSymbolByRVA 方法时,检索模块内给定相对虚拟地址处的符号。 |
IDebugHostModule5::FindSymbolByName 在模块上调用 IDebugHostModule5::FindSymbolByName 方法时,按名称从模块内检索全局符号。 |
IDebugHostModule5::FindSymbolByRVA 在模块上调用时,IDebugHostModule5::FindSymbolByRVA 方法检索模块内给定相对虚拟地址处的符号。 |
IDebugHostModule5::FindTypeByName 在模块上调用 IDebugHostModule5::FindTypeByName 方法时,从模块内按类型名称查找类型,并检索其类型符号。 |
IDebugHostModule5::FindTypeByName2 FindTypeByName2 方法在模块中按名称查找类型。 如果给定了封闭符号,则按该封闭符号内的名称查找该类型;否则,将全局查找该类型。 |
IDebugHostModule5::GetBaseLocation 在模块上调用 IDebugHostModule5::GetBaseLocation 方法时,获取模块的基本加载地址作为位置结构。 |
IDebugHostModule5::GetContainingModule 在对符号调用时,IDebugHostModule5::GetContainingModule 方法获取包含符号的模块(如果该符号具有包含模块)。 |
IDebugHostModule5::GetContext 在符号上调用 IDebugHostModule5::GetContext 方法时,获取符号所在的主机上下文。 |
IDebugHostModule5::GetImageName IDebugHostModule5::GetImageName 方法将模块的图像名称或完整路径作为分配的字符串获取。 |
IDebugHostModule5::GetName 在符号上调用 IDebugHostModule5::GetName 方法时,如果符号具有名称,则获取符号的名称。 |
IDebugHostModule5::GetPrimaryCompilerInformation GetPrimaryCompilerInformation 方法返回有关可能被视为生成模块的“主编译器”的信息。 |
IDebugHostModule5::GetRange GetRange 方法检索内存中模块的开始和结束虚拟地址(VA)。 |
IDebugHostModule5::GetSymbolKind 在符号上调用 GetSymbolKind 方法时,获取字段、基类或类型等符号类型。 |
IDebugHostModule5::GetType 在符号上调用 IDebugHostModule5::GetType 方法时,获取符号的类型,例如 int *。 |
IDebugHostModule5::GetVersion 在模块上调用 GetVersion 方法时,从模块标头获取模块版本信息。 |
IDebugHostModule5::QueryInterface QueryInterface 方法检索指向对象上指定接口的指针。 |
IDebugHostModule5::Release IDebugHostModule5::Release 方法会减少模块对象的引用计数。 |
要求
要求 | 价值 |
---|---|
标头 | dbgmodel.h |