[SHELL32]
authorThomas Faber <thomas.faber@reactos.org>
Fri, 8 Apr 2016 07:56:22 +0000 (07:56 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Fri, 8 Apr 2016 07:56:22 +0000 (07:56 +0000)
- Explicitly use -W version of ShellExecute. Patch by Mark Jansen.
ROSTESTS-209

svn path=/trunk/; revision=71115

reactos/dll/win32/shell32/droptargets/CexeDropHandler.cpp

index 06052fc..83f9723 100644 (file)
@@ -83,7 +83,7 @@ HRESULT WINAPI CExeDropHandler::Drop(IDataObject *pDataObject, DWORD dwKeyState,
         }
     }
 
-    ShellExecute(NULL, L"open", sPathTarget, wszBuf, NULL,SW_SHOWNORMAL);
+    ShellExecuteW(NULL, L"open", sPathTarget, wszBuf, NULL,SW_SHOWNORMAL);
 
     return S_OK;
 }