Hi,

Can anyone help me in finding the Child process ID with the parent process ID.

I have the PID of one process. But, thus process spawns another child process whose PID I don't know. I want to kill both the process through my C Code TerminateProcess(). but I know only the parent PID so the TerminateProcess() is killing only the parent process not the child process. Please guide.