Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Determines if a process can be terminated.
HRESULT CanTerminateProcess (
IDebugProcess2* pProcess
);
int CanTerminateProcess (
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. Returns S_FALSE if the engine cannot terminate the process, for example, because access is denied.
Remarks
If this method returns S_OK, then it the IDebugEngineLaunch2::TerminateProcess method can be called to actually terminate the process.