Pass a locally modified version of SHELLEXECUTEINFO to IShellExecuteHookW_Execute

Dmitry Timoshkov dmitry at baikal.ru
Thu Sep 8 08:23:01 CDT 2005


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    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).

--- cvs/hq/wine/dlls/shell32/shlexec.c	2005-09-05 19:44:51.000000000 +0900
+++ wine/dlls/shell32/shlexec.c	2005-09-08 22:12:28.000000000 +0900
@@ -1051,7 +1061,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEX
 
 	if (SUCCEEDED(hr))
 	{
-	    hr = IShellExecuteHookW_Execute(pSEH, sei);
+	    hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
 
 	    IShellExecuteHookW_Release(pSEH);
 
@@ -1151,7 +1161,7 @@ BOOL WINAPI ShellExecuteExW32 (LPSHELLEX
 
 		if (SUCCEEDED(hr))
 		{
-		    hr = IShellExecuteHookW_Execute(pSEH, sei);
+		    hr = IShellExecuteHookW_Execute(pSEH, &sei_tmp);
 
 		    IShellExecuteHookW_Release(pSEH);
 






More information about the wine-patches mailing list