* int nShowCmd - How to display the operation.
*/
-HRESULT WINAPI FileProtocolHandlerA(HWND hWnd, HINSTANCE hInst, LPCSTR pszUrl,
- int nShowCmd)
+void WINAPI FileProtocolHandlerA(HWND hWnd, HINSTANCE hInst, LPCSTR pszUrl, int nShowCmd)
{
CHAR pszPath[MAX_PATH];
DWORD size = MAX_PATH;
TRACE("(%p, %s, %d)\n",hWnd,debugstr_a(pszUrl),nShowCmd);
- if(createpath != S_OK)
- return E_FAIL;
-
- ShellExecuteA(hWnd,NULL,pszPath,NULL,NULL,nShowCmd);
-
- return S_OK;
+ ShellExecuteA(hWnd, NULL, createpath==S_OK ? pszPath : pszUrl, NULL, NULL, nShowCmd);
}
/***********************************************************************
reactos/dll/win32/twain_32 # Synced to Wine-1.7.17
reactos/dll/win32/unicows # Synced to Wine-1.3.32 (Win9x only, why do we need this?!)
reactos/dll/win32/updspapi # Synced to Wine-1.7.1
-reactos/dll/win32/url # Synced to Wine-1.7.1
+reactos/dll/win32/url # Synced to Wine-1.7.17
reactos/dll/win32/urlmon # Synced to Wine-1.7.1
reactos/dll/win32/usp10 # Synced to Wine-1.7.14
reactos/dll/win32/uxtheme # Forked