DkmTransportConnection.EnumRunningProcesses Method

Definition

Overloads

EnumRunningProcesses(Boolean, DkmRunningProcessInfoPropertyMask)

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

EnumRunningProcesses(DkmWorkList, Boolean, DkmRunningProcessInfoPropertyMask, DkmCompletionRoutine<DkmEnumRunningProcessesAsyncResult>)

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

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

EnumRunningProcesses(Boolean, DkmRunningProcessInfoPropertyMask)

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(bool IncludeFromAllUsers, Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfoPropertyMask RequestedPropertyMask);
public:
 Platform::Array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfo ^> ^ EnumRunningProcesses(bool IncludeFromAllUsers, Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfoPropertyMask RequestedPropertyMask);
std::Array <Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfo const &> EnumRunningProcesses(bool IncludeFromAllUsers, Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfoPropertyMask RequestedPropertyMask);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo[] EnumRunningProcesses (bool IncludeFromAllUsers, Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask RequestedPropertyMask);
member this.EnumRunningProcesses : bool * Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo[]
Public Function EnumRunningProcesses (IncludeFromAllUsers As Boolean, RequestedPropertyMask As DkmRunningProcessInfoPropertyMask) As DkmRunningProcessInfo()

Parameters

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

EnumRunningProcesses(DkmWorkList, Boolean, DkmRunningProcessInfoPropertyMask, DkmCompletionRoutine<DkmEnumRunningProcessesAsyncResult>)

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

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

public void EnumRunningProcesses (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, bool IncludeFromAllUsers, Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask RequestedPropertyMask, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DefaultPort.DkmEnumRunningProcessesAsyncResult> CompletionRoutine);
member this.EnumRunningProcesses : Microsoft.VisualStudio.Debugger.DkmWorkList * bool * Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DefaultPort.DkmEnumRunningProcessesAsyncResult> -> unit
Public Sub EnumRunningProcesses (WorkList As DkmWorkList, IncludeFromAllUsers As Boolean, RequestedPropertyMask As DkmRunningProcessInfoPropertyMask, CompletionRoutine As DkmCompletionRoutine(Of DkmEnumRunningProcessesAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

IncludeFromAllUsers
Boolean

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

RequestedPropertyMask
DkmRunningProcessInfoPropertyMask

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

CompletionRoutine
DkmCompletionRoutine<DkmEnumRunningProcessesAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to