Alexandre Julliard : shell32: Don' t wait for the command to terminate in ShellLink_InvokeCommand.
Alexandre Julliard
julliard at winehq.org
Wed Nov 14 07:27:40 CST 2007
Module: wine
Branch: master
Commit: db500aad2d65497e9a8e41d96345de7469dc7c15
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db500aad2d65497e9a8e41d96345de7469dc7c15
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Nov 13 21:34:52 2007 +0100
shell32: Don't wait for the command to terminate in ShellLink_InvokeCommand.
---
dlls/shell32/shelllink.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/dlls/shell32/shelllink.c b/dlls/shell32/shelllink.c
index a3a850e..d19d726 100644
--- a/dlls/shell32/shelllink.c
+++ b/dlls/shell32/shelllink.c
@@ -2573,14 +2573,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
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 wine-cvs
mailing list