Udostępnij za pośrednictwem


DkmTransportConnection.TerminateRunningProcess(Int32, Int64, Int32) Method

Definition

Terminates a process running on target computer which is not being debugged.

public:
 void TerminateRunningProcess(int Id, long StartTime, int ExitCode);
public:
 void TerminateRunningProcess(int Id, long long StartTime, int ExitCode);
void TerminateRunningProcess(int Id, long StartTime, int ExitCode);
public void TerminateRunningProcess (int Id, long StartTime, int ExitCode);
member this.TerminateRunningProcess : int * int64 * int -> unit
Public Sub TerminateRunningProcess (Id As Integer, StartTime As Long, ExitCode As Integer)

Parameters

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.

ExitCode
Int32

[In] The exit code to be used by the process and threads terminated as a result of this call. Use the GetExitCodeProcess function to retrieve a process's exit value. Use the GetExitCodeThread function to retrieve a thread's exit value.

Applies to