title: Fetching parent process Id from child process
body: <p>I create a child process using CreateProcess API. From the child process I need to fetch the parent's process id.</p>
  
  <p>If my process tree have a child and a grand child. I need to fetch the top most parent's process id from the grand child as well.</p>