var
; Han: THandle;
; ProcessID: int64;
; ExitCode: DWORD;
; i: integer;
begin
; for i := 0 to ListView1.Items.Count - 1 do
; ; if listview1.Items.Selected then
; ; begin
; ; ; ProcessID := StrToInt64(ListView1.Selected.SubItems.Strings[0]);
; ; ; Han := OpenProcess(PROCESS_TERMINATE, true, ProcessID);
; ; ; GetExitCodeProcess(Han, ExitCode);
; ; ; TerminateProcess(Han, ExitCode);
; ; end;
end;