Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p27.f30.n147.z1.fidonet.org!Gary_Capps From: Gary_Capps@p27.f30.n147.z1.fidonet.org (Gary Capps) Newsgroups: comp.windows.ms.programmer Subject: Enumerate Tasks Message-ID: Date: 28 Apr 91 08:16:07 GMT Reply-To: Gary_Capps%p27.f30.n147.z1@hippo.dfv.rwth-aachen.de (Gary Capps) Organization: "Fribbit me thud, crash, and mumble" -- Norman, OK Lines: 14 Comment-To: Norbert_Unterberg@f1.n6000.z2.fidonet.org (Norbert Unterberg) In a message of <24 Apr 91 17:18:00> Norbert Unterberg wrote to All: NU>Does anybody know if there is a way to get the task handles of all running NU>tasks? Maybe a function like EnumTasks (which doesn't exist). Windows NU>has functions like GetNumTasks() and GetCurrentTask(), but how can I get NU>task handles (or other task info) of all that tasks? There must be a way, NU>because HEAPWALK knows about the tasks! Well, the Task Manager does not, NU>it only displays the titles of all overlapped windows... Try using EnumWindows() and then calling GetWindowTask() for every window you find. gc