sync to wine

Author: Alexandre Julliard <julliard at winehq.org>
Don't wait for the command to terminate in ShellLink_InvokeCommand.

svn path=/trunk/; revision=30493
This commit is contained in:
Christoph von Wittich 2007-11-16 07:36:46 +00:00
parent bc74f1df6f
commit 43eb284cea

View file

@ -2835,14 +2835,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;