Pass a locally modified version of SHELLEXECUTEINFO to

IShellExecuteHookW_Execute, this should pass through at least
sei_tmp.nShow retrieved from an .lnk file (fStartup).
This commit is contained in:
Dmitry Timoshkov 2005-09-08 18:54:52 +00:00 committed by Alexandre Julliard
parent f861818081
commit 4cc1c14005
1 changed files with 2 additions and 2 deletions

View File

@ -1051,7 +1051,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
hr = IShellExecuteHookW_Execute(pSEH, sei); hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
IShellExecuteHookW_Release(pSEH); IShellExecuteHookW_Release(pSEH);
@ -1151,7 +1151,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
{ {
hr = IShellExecuteHookW_Execute(pSEH, sei); hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
IShellExecuteHookW_Release(pSEH); IShellExecuteHookW_Release(pSEH);