How to kill a process using TerminateJobObject() API ???

Sep 21, 2013 at 4:05pm
closed account (3hMz8vqX)
Hi all,
Can anyone give an example code to show how to kill a process using the TerminateJobObject API ???

Thankyou everyone in advance!!!
Sep 21, 2013 at 5:22pm
closed account (Dy7SLyTq)
http://www.lmgtfy.com/?q=how+to+use+terminatejobobject+api
Sep 22, 2013 at 7:59am
Let me give you a leg into figuring this out. According to MSDN http://msdn.microsoft.com/en-us/library/windows/desktop/ms686709(v=vs.85).aspx
One of the parameters for TerminateJobObject is a HANDLE which is used to locate the job object...
Now ask yourself this question. Do you have the job object handle somewhere in your code? Well do yah punk?
Topic archived. No new replies allowed.