mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:15:41 +00:00
[SYSSETUP]
I forgot that previously. svn path=/trunk/; revision=57987
This commit is contained in:
parent
879883c38d
commit
48f0592923
1 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue