DkmProcess.Terminate(Int32) Method

Definition

This method is called to tell the monitor to terminate the target process. This will trigger a ProcessExit event to be sent on the event thread.

public:
 void Terminate(int ExitCode);
public:
 void Terminate(int ExitCode);
void Terminate(int ExitCode);
public void Terminate (int ExitCode);
member this.Terminate : int -> unit
Public Sub Terminate (ExitCode As Integer)

Parameters

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