I guess you have to resort to the Windows "Process Status API".
Here is a sample of how to obtain information about all currently running processes:
Enumerating All Processes (Windows)

greeting
K-Duke


Using A7 Free
Click and join the 3dgs irc community!
Room: #3dgs