IDebugProgramCreateEvent2

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDebugProgramCreateEvent2.

This interface is sent by the debug engine (DE) to the session debug manager (SDM) when a program is attached to.

IDebugProgramCreateEvent2 : IUnknown  

The DE or the custom port supplier implements this interface to report that a program has been created, typically at the time the program is attached to. The IDebugEvent2 interface must be implemented on the same object as this interface. The SDM uses the QueryInterface method to access the IDebugEvent2 interface.

The DE or the custom port supplier creates and sends this event object to report the creation of a program. The DE sends this event by using the IDebugEventCallback2 callback function that is supplied by the SDM when it attached to the program being debugged. The custom port supplier sends this event using the IDebugPortEvents2 interface.

The DE or custom port supplier publishes a new IDebugProgramNode2 interface by calling PublishProgramNode.

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Core Interfaces
IDebugEvent2
IDebugEventCallback2
IDebugPortEvents2
IDebugProgram2

Show: