Lines Matching refs:startInfo
6295 STARTUPINFO startInfo;
6312 ZeroMemory(&startInfo, sizeof(startInfo));
6313 startInfo.cb = sizeof(startInfo);
6314 startInfo.dwFlags = STARTF_USESTDHANDLES;
6315 startInfo.hStdInput = INVALID_HANDLE_VALUE;
6316 startInfo.hStdOutput= INVALID_HANDLE_VALUE;
6317 startInfo.hStdError = INVALID_HANDLE_VALUE;
6322 DuplicateHandle(hProcess, (HANDLE)_get_osfhandle(inputId), hProcess, &startInfo.hStdInput,
6324 if (startInfo.hStdInput == INVALID_HANDLE_VALUE) {
6331 DuplicateHandle(hProcess, (HANDLE)_get_osfhandle(outputId), hProcess, &startInfo.hStdOutput,
6333 if (startInfo.hStdOutput == INVALID_HANDLE_VALUE) {
6341 DuplicateHandle(hProcess, (HANDLE)_get_osfhandle(errorId), hProcess, &startInfo.hStdError,
6343 if (startInfo.hStdError == INVALID_HANDLE_VALUE) {
6359 0, winenv, NULL, &startInfo, &procInfo)) {
6371 if (startInfo.hStdInput != INVALID_HANDLE_VALUE) {
6372 CloseHandle(startInfo.hStdInput);
6374 if (startInfo.hStdOutput != INVALID_HANDLE_VALUE) {
6375 CloseHandle(startInfo.hStdOutput);
6377 if (startInfo.hStdError != INVALID_HANDLE_VALUE) {
6378 CloseHandle(startInfo.hStdError);