Share via


IDebugPortEx2::TerminateProcess

Terminates a process.

HRESULT TerminateProcess( 
   IDebugProcess2* pPortProcess
);
int TerminateProcess( 
   IDebugProcess2 pPortProcess
);

Parameters

  • pPortProcess
    [in] An IDebugProcess2 object representing the process to be terminated.

Return Value

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

See Also

Reference

IDebugPortEx2

IDebugProcess2