IDkmRunningProcessInfoProvider.EnumRunningProcesses Method

Definition

Provides a listing of all the processes running on the target computer (including processes not being debugged).

public:
 cli::array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfo ^> ^ EnumRunningProcesses(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ connection, bool includeFromAllUsers, Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfoPropertyMask requestedPropertyMask);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo[] EnumRunningProcesses (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, bool includeFromAllUsers, Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask requestedPropertyMask);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo[]? EnumRunningProcesses (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, bool includeFromAllUsers, Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask requestedPropertyMask);
abstract member EnumRunningProcesses : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * bool * Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo[]
Public Function EnumRunningProcesses (connection As DkmTransportConnection, includeFromAllUsers As Boolean, requestedPropertyMask As DkmRunningProcessInfoPropertyMask) As DkmRunningProcessInfo()

Parameters

connection
DkmTransportConnection

[In] This represents a connection between the monitor and the IDE. It can either be a local connection if the monitor is running in the same process as the IDE, or it can be a remote connection. In the monitor process, there is only one connection.

includeFromAllUsers
Boolean

[In] If true, processes from all users should be included.

requestedPropertyMask
DkmRunningProcessInfoPropertyMask

[In] Flags indicating which properties of DkmRunningProcessInfo should be computed.

Returns

[Out] Array of processes running on the target computer.

Applies to