mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Correctly initialize the startup info in WinExec.
svn path=/trunk/; revision=9546
This commit is contained in:
parent
4faf15614f
commit
45d5d0cea1
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: proc.c,v 1.61 2004/03/14 18:16:40 weiden Exp $
|
||||
/* $Id: proc.c,v 1.62 2004/05/29 15:10:28 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -383,6 +383,7 @@ WinExec(LPCSTR lpCmdLine,
|
|||
HINSTANCE hInst;
|
||||
DWORD dosErr;
|
||||
|
||||
RtlZeroMemory(&StartupInfo, sizeof(StartupInfo));
|
||||
StartupInfo.cb = sizeof(STARTUPINFOA);
|
||||
StartupInfo.wShowWindow = uCmdShow;
|
||||
StartupInfo.dwFlags = 0;
|
||||
|
|
Loading…
Reference in a new issue