IDkmModuleCreateNotification.OnModuleCreate 方法

定义

在事件处理过程中,将调用 OnModuleCreate。 有关详细信息,请参阅接口定义。

public:
 void OnModuleCreate(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, Microsoft::VisualStudio::Debugger::DkmEventDescriptorS ^ eventDescriptor);
public void OnModuleCreate (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Microsoft.VisualStudio.Debugger.DkmEventDescriptorS eventDescriptor);
abstract member OnModuleCreate : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Microsoft.VisualStudio.Debugger.DkmEventDescriptorS -> unit
Public Sub OnModuleCreate (module As DkmModule, eventDescriptor As DkmEventDescriptorS)

参数

module
DkmModule

中DkmModule 类表示 (ex: dll 或 exe) 的代码绑定,或将其加载到一个或多个进程中。 DkmModule 类是指向符号 Api 的中心对象,为1:1,并带有符号处理程序的表示形式。 如果代码绑定加载到三个不同的进程 (或相同的进程,但具有三个不同的基址或三个不同的应用程序域) 但符号处理程序认为所有这些都是相同的,则将只有一个 module 对象。

eventDescriptor
DkmEventDescriptorS

中描述正在处理的事件,并提供组件禁止显示此事件的功能。

适用于