This is concerning Windows XP processes.
I have a process running, let\'s call it Process1. Process1 creates a new process, Process2, and saves its id.
Now,
call EnumProcesses() and check if the PID is in the list.
EnumProcesses()
http://msdn.microsoft.com/en-us/library/ms682629%28VS.85%29.aspx