How to get process status

Hi

currently in my system

thread A is starting 5 process and keeps monitoring the status of the process.

To check the process is running or not,

using OpenProcess() i'm getting the handle and using getProcessTimes() I'm checking the status.

If is kill any of the process using Taskkill then these functions are returning always success.

How to get the current state of the process using the processID.


Thanks
Vijay
Topic archived. No new replies allowed.