IDebugProcess2::Terminate
Terminates the process.
Syntax
Return Value
If successful, returns S_OK
; otherwise, returns an error code.
Remarks
When a process is terminated, all programs within that process are terminated; none are allowed to run any more code.