Bhubhu Hbuhdbus
Bhubhu Hbuhdbus

Reputation: 1519

Inheriting Handles From Parent Processes in Windows

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

Answers (1)

coldfix
coldfix

Reputation: 7102

You can use it, to wait for the parent process to terminate, see for example WaitForSingleObjectEx.

Upvotes: 1

Related Questions