IDebugEngineLaunch2::TerminateProcessIDebugEngineLaunch2::TerminateProcess
Arrête un processus.Terminates a process.
SyntaxeSyntax
HRESULT TerminateProcess (
IDebugProcess2* pProcess
);
int TerminateProcess (
IDebugProcess2 pProcess
);
ParamètresParameters
pProcess
[in] Un IDebugProcess2 objet qui représente le processus à arrêter.[in] An IDebugProcess2 object that represents the process to be terminated.
Valeur de retourReturn Value
En cas de réussite, retourne S_OK
; sinon, retourne un code d’erreur.If successful, returns S_OK
; otherwise returns an error code.
NotesRemarks
Appelez le CanTerminateProcess méthode avant d’appeler cette méthode.Call the CanTerminateProcess method before calling this method.
Voir aussiSee Also
IDebugEngineLaunch2 IDebugEngineLaunch2
IDebugProcess2 IDebugProcess2
CanTerminateProcessCanTerminateProcess