Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
This interface enumerates a list of modules.
IEnumDebugModules2 : IUnknown
Notes for Implementers
The debug engine (DE) implements this interface to represent a list of modules loaded for a program.
Notes for Callers
Visual Studio calls IDebugProgram2::EnumModules to obtain this interface.
Methods in Vtable Order
The following table shows the methods of IEnumDebugModules2.
Method |
Description |
---|---|
Retrieves a specified number of modules in an enumeration sequence. |
|
Skips a specified number of modules in an enumeration sequence. |
|
Resets an enumeration sequence to the beginning. |
|
Creates an enumerator that contains the same enumeration state as the current enumerator. |
|
Gets the number of modules. |
Remarks
Visual Studio uses this interface primarily to update the Modules window.
For the purposes of debugging in Visual Studio, a program is a logical sequence of code instructions that can cross module boundaries, hence the need for a list of modules for a single IDebugProgram2 interface. The first module in the list typically contains the initial entry point for the associated program.
Requirements
Header: msdbg.h
Namespace: Microsoft.VisualStudio.Debugger.Interop
Assembly: Microsoft.VisualStudio.Debugger.Interop.dll