c - Windows API STARTUPINFO destroyed? -
After creating a process and waiting to complete it, is it STARTUPINFO still available or is it deleted? has given? After this, Now, what happens to your structure? Well, the answer is that the parameter is annotated like this: STARTUPINFO si; BRes = Create process (zero, command, zero, zero, true, 0, zero, faucet, and SI, and PI); DwRes = WaitForSingleObject (pi.hProcess, INFINITE);
si is modified / destroyed or is it retained?
_In_LPSTARTUPINFO lpStartupInfo
_In _ means that The content of the structure is not modified
CreateProcess returns, the startup information structure has not been modified.
Comments
Post a Comment