From 4cc1c14005da0ede9b7061b9423d58daf09034f0 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 8 Sep 2005 18:54:52 +0000 Subject: [PATCH] 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). --- dlls/shell32/shlexec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c index 00a32aa6563..54357c26d4c 100644 --- a/dlls/shell32/shlexec.c +++ b/dlls/shell32/shlexec.c @@ -1051,7 +1051,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun if (SUCCEEDED(hr)) { - hr = IShellExecuteHookW_Execute(pSEH, sei); + hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp); IShellExecuteHookW_Release(pSEH); @@ -1151,7 +1151,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEXECUTEINFOW sei, SHELL_ExecuteW32 execfun if (SUCCEEDED(hr)) { - hr = IShellExecuteHookW_Execute(pSEH, sei); + hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp); IShellExecuteHookW_Release(pSEH);