comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@acm.org
Subject: re: kill a process
Date: Mon, 21 Sep 2009 23:45:27 +0000 (UTC)
Date: 2009-09-21T23:45:27+00:00	[thread overview]
Message-ID: <h9936m$ppc$1@aioe.org> (raw)
In-Reply-To: 6eea521f-5113-4982-bf66-066c2c277951@e34g2000vbm.googlegroups.com

>How can I kill a Windows process in Ada?

  type Process_Handles is new Interfaces.C.Unsigned;
  type Exit_Codes is new Interfaces.C.Unsigned;
  type Bool is new Interfaces.C.Int;

  function TerminateProcess(Process   : Process_Handles;
                            Exit_Code : Exit_Codes) return Bool;
  pragma Import(StdCall, TerminateProcess, "TerminateProcess");



  reply	other threads:[~2009-09-21 23:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 19:53 kill a process Pablo
2009-09-21 23:45 ` tmoran [this message]
2009-09-22 18:43   ` Pablo
2009-09-22 19:48     ` Gautier write-only
2009-09-23 14:02       ` Pablo
2009-09-22 21:45     ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox