Reputation: 1519
In Windows 7, when would a child process want to inherit the process handle or the thread handle of the parent processes? What would this be useful for/accomplish? Thanks.
Upvotes: 0
Views: 374
Reputation: 7102
You can use it, to wait for the parent process to terminate, see for example WaitForSingleObjectEx.
Upvotes: 1