Share via


IDkmRunningProcessInfoProvider.GetRunningProcessInfo Method

Definition

Obtain information about a process running on the target computer.

public:
 Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfo ^ GetRunningProcessInfo(Microsoft::VisualStudio::Debugger::DefaultPort::DkmTransportConnection ^ connection, int id, long startTime, bool isDebuggee, Microsoft::VisualStudio::Debugger::DefaultPort::DkmRunningProcessInfoPropertyMask requestedPropertyMask);
public Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo GetRunningProcessInfo (Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection connection, int id, long startTime, bool isDebuggee, Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask requestedPropertyMask);
abstract member GetRunningProcessInfo : Microsoft.VisualStudio.Debugger.DefaultPort.DkmTransportConnection * int * int64 * bool * Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfoPropertyMask -> Microsoft.VisualStudio.Debugger.DefaultPort.DkmRunningProcessInfo
Public Function GetRunningProcessInfo (connection As DkmTransportConnection, id As Integer, startTime As Long, isDebuggee 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.

id
Int32

[In] Process Id (PID) assigned by the operating system.

startTime
Int64

[In] 64-bit date time value indicating when the process was started. The start time along with the id and the machine where the process was started can uniquely identify a process. '0' can be passed if the start time is unknown.

isDebuggee
Boolean

[In] When true, the request will fail if the debugger has insufficient privileges to complete the request. If false, the implementation should calculate what it can.

requestedPropertyMask
DkmRunningProcessInfoPropertyMask

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

Returns

[Out] Information about the requested process.

Applies to