Share via


IEnumDebugProcesses2

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface enumerates the processes running on a debug port.

Syntax

IEnumDebugProcesses : IUnknown  

Notes for Implementers

A custom port supplier implements this interface to provide a list of processes running on a port.

Notes for Callers

Visual Studio calls EnumProcesses to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumDebugProcesses2.

Method Description
Next Retrieves a specified number of processes in an enumeration sequence.
Skip Skips a specified number of processes in an enumeration sequence.
Reset Resets an enumeration sequence to the beginning.
Clone Creates an enumerator that contains the same enumeration state as the current enumerator.
GetCount Gets the number of processes in an enumerator.

Remarks

Visual Studio uses this interface to populate the Processes window.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Core Interfaces
EnumProcesses