Share via


IDebugPortEx2::CanTerminateProcess

Determines whether a process can be terminated.

HRESULT CanTerminateProcess( 
   IDebugProcess2* pPortProcess
);
HRESULT CanTerminateProcess( 
   IDebugProcess2 pPortProcess
);

Parameters

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

Return Value

Returns S_OK if the process can be terminated; otherwise, returns S_FALSE.

See Also

Reference

IDebugPortEx2

IDebugProcess2