Partilhar via


IDebugModuleLoadEvent2

This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a module is loaded or unloaded.

IDebugModuleLoadEvent2 : IUnknown

Notes for Implementers

The DE implements this interface to report that a module has been loaded or unloaded. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses QueryInterface to access the IDebugEvent2 interface.

Notes for Callers

The DE creates and sends this event object to report a module has been loaded or unloaded. The event is sent by using the IDebugEventCallback2 callback function that is supplied by the SDM when it is attached to the program being debugged.

Methods in Vtable Order

The following table shows the method of IDebugModuleLoadEvent2.

Method

Description

IDebugModuleLoadEvent2::GetModule

Gets the module that is being loaded or unloaded.

Remarks

Visual Studio uses this event to keep the Modules window up to date.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

IDebugEvent2

IDebugEventCallback2

Concepts

Core Interfaces