Freigeben über


IEnumDebugProcesses2

This interface enumerates the processes running on a debug port.

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 IDebugPort2::EnumProcesses to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumDebugProcesses2.

Method

Description

IEnumDebugProcesses2::Next

Retrieves a specified number of processes in an enumeration sequence.

IEnumDebugProcesses2::Skip

Skips a specified number of processes in an enumeration sequence.

IEnumDebugProcesses2::Reset

Resets an enumeration sequence to the beginning.

IEnumDebugProcesses2::Clone

Creates an enumerator that contains the same enumeration state as the current enumerator.

IEnumDebugProcesses2::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

Reference

IDebugPort2::EnumProcesses

Concepts

Core Interfaces