Introduction - If you have any usage issues, please Google them yourself
We often need to develop a process to wait after starting their end before continuing to run.
Here provides a function called Wait, and it will be for you to complete the above functions. Thought to achieve is in the process of waiting for it to end after the start, because the process is a resource, and handle resources can be used as the core in an amount in WIN32. You can use the WaitForSingleObject wait core volume status change signaled state. At the end of the process in terms of its state to process the signal.
To start the process uses a separate thread in this case and wait for the end.