[ros-diffs] [cwittich] 30493: sync to wine Author: Alexandre Julliard <julliard at winehq.org> Don't wait for the command to terminate in ShellLink_InvokeCommand.

cwittich at svn.reactos.org cwittich at svn.reactos.org
Fri Nov 16 08:36:47 CET 2007


Author: cwittich
Date: Fri Nov 16 10:36:46 2007
New Revision: 30493

URL: http://svn.reactos.org/svn/reactos?rev=30493&view=rev
Log:
sync to wine
Author: Alexandre Julliard <julliard at winehq.org>
Don't wait for the command to terminate in ShellLink_InvokeCommand.

Modified:
    trunk/reactos/dll/win32/shell32/shelllink.c

Modified: trunk/reactos/dll/win32/shell32/shelllink.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelllink.c?rev=30493&r1=30492&r2=30493&view=diff
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelllink.c (original)
+++ trunk/reactos/dll/win32/shell32/shelllink.c Fri Nov 16 10:36:46 2007
@@ -2835,14 +2835,7 @@
     sei.lpVerb = szOpen;
 
     if( ShellExecuteExW( &sei ) )
-    {
-        if ( sei.hProcess )
-        {
-            WaitForSingleObject( sei.hProcess, 10000 );
-            CloseHandle( sei.hProcess );
-        }
         r = S_OK;
-    }
     else
         r = E_FAIL;
 




More information about the Ros-diffs mailing list