Edit

Share via


IDebugEngineLaunch2::TerminateProcess

Terminates a process.

Syntax

int TerminateProcess ( 
   IDebugProcess2 pProcess
);

Parameters

pProcess
[in] An IDebugProcess2 object that represents the process to be terminated.

Return Value

If successful, returns S_OK; otherwise returns an error code.

Remarks

Call the CanTerminateProcess method before calling this method.

See also