diff --git a/reactos/dll/win32/syssetup/wizard.c b/reactos/dll/win32/syssetup/wizard.c index b53ce26eed5..ea1b22c335a 100644 --- a/reactos/dll/win32/syssetup/wizard.c +++ b/reactos/dll/win32/syssetup/wizard.c @@ -55,10 +55,11 @@ RunVMWInstall(HWND hWnd) PROCESS_INFORMATION ProcInfo; MSG msg; DWORD ret; - STARTUPINFOW si = {0}; + STARTUPINFOW si; WCHAR InstallName[] = L"vmwinst.exe"; - si.cb = sizeof(STARTUPINFO); + ZeroMemory(&si, sizeof(si)); + si.cb = sizeof(si); if(CreateProcessW(NULL, InstallName, NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &si, &ProcInfo)) @@ -795,7 +796,7 @@ RunControlPanelApplet(HWND hwnd, PCWSTR pwszCPLParameters) WCHAR CmdLine[MAX_PATH] = L"rundll32.exe shell32.dll,Control_RunDLL "; ZeroMemory(&StartupInfo, sizeof(StartupInfo)); - StartupInfo.cb = sizeof(STARTUPINFOW); + StartupInfo.cb = sizeof(StartupInfo); ASSERT(_countof(CmdLine) > wcslen(CmdLine) + wcslen(pwszCPLParameters)); wcscat(CmdLine, pwszCPLParameters);