Forking in windows
===

I am looking in to the details of different fork implementation methods. Following link is referred for fork implementation,
http://doxygen.scilab.org/5.3/d0/d8f/forkWindows_8c_source.html . This fork implementation is by using ZwXXX functions exported by ntdll. 

I could compile this in vs2012, windows 7 -64 bit machine. But on testing, I am not getting expected output. On forking, new child process is created, but this process immediately returns on resuming its suspended primary thread. It doesn't invoke fork call again. Have anyone tried to implement fork for windows? What am i missing in this code snippet? I have been researching different fork implementation for the past one week. Please help.
