Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

IEnumDebugProcesses2

This interface enumerates the processes running on a debug port.


IEnumDebugProcesses : IUnknown

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

Visual Studio calls IDebugPort2::EnumProcesses to obtain this interface.

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.

Visual Studio uses this interface to populate the Processes window.

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Community Additions

ADD
Show:
© 2015 Microsoft