// This function is used to terminate a process that the SampleEngine launched // The debugger will call IDebugEngineLaunch2::CanTerminateProcess before calling this method. int IDebugEngineLaunch2.TerminateProcess(IDebugProcess2 process) { if (EngineUtils.GetProcessId(process) != EngineUtils.GetProcessId(debugProcess)) { return(VSConstants.S_FALSE); } EnqueueCommand(new Command(CommandKind.Detach)); return(debugProcess.Terminate()); }
public int TerminateProcess(IDebugProcess2 pProcess) { pProcess.Terminate(); Send(new MonoProgramDestroyEvent(0), MonoProgramDestroyEvent.IID, null); return(VSConstants.S_OK); }
public int Terminate() { _process.Terminate(); _engineIntegration.ExecutionCompleted -= ExecutionCompleted; return(VSConstants.S_OK); }
/// <summary> /// Terminates a process. /// </summary> public int TerminateProcess(IDebugProcess2 pProcess) { DLog.Debug(DContext.VSDebuggerComCall, "IDebugEngine2.TerminateProcess"); return pProcess.Terminate(); }
// Token: 0x0600005C RID: 92 RVA: 0x000034D3 File Offset: 0x000016D3 public int TerminateProcess(IDebugProcess2 pProcess) { pProcess.Terminate(); this.processes.Remove((Process)pProcess); return(0); }
/// <summary> /// This function is used to terminate a process that the SampleEngine launched /// The debugger will call IDebugEngineLaunch2::CanTerminateProcess before calling this method /// </summary> /// <param name="pProcess"></param> /// <returns>If successful, returns S_OK; otherwise, returns an error code.</returns> public int TerminateProcess(IDebugProcess2 pProcess) { pProcess.Terminate(); Callback.Send(new SampSharpDestroyEvent(0), SampSharpDestroyEvent.Iid, null); return(S_OK); }
int IDebugEngineLaunch2.TerminateProcess(IDebugProcess2 process) { return(process.Terminate()); }
int IDebugEngineLaunch2.TerminateProcess(IDebugProcess2 process) => process.Terminate();
/// <summary> /// Terminates a process. /// </summary> public int TerminateProcess(IDebugProcess2 pProcess) { DLog.Debug(DContext.VSDebuggerComCall, "IDebugEngine2.TerminateProcess"); return(pProcess.Terminate()); }