mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 16:02:20 +00:00
url: Fix prototype of FileProtocolHandlerA.
This commit is contained in:
parent
f49880c6af
commit
d8acdcc2b4
|
@ -4,8 +4,8 @@
|
||||||
@ stub DllGetClassObject
|
@ stub DllGetClassObject
|
||||||
@ stub DummyEntryPoint
|
@ stub DummyEntryPoint
|
||||||
@ stub DummyEntryPointA
|
@ stub DummyEntryPointA
|
||||||
@ stdcall FileProtocolHandler(long str long) FileProtocolHandlerA
|
@ stdcall FileProtocolHandler(long ptr str long) FileProtocolHandlerA
|
||||||
@ stdcall FileProtocolHandlerA(long str long)
|
@ stdcall FileProtocolHandlerA(long ptr str long)
|
||||||
@ stdcall InetIsOffline(long)
|
@ stdcall InetIsOffline(long)
|
||||||
@ stub MIMEAssociationDialogA
|
@ stub MIMEAssociationDialogA
|
||||||
@ stub MIMEAssociationDialogW
|
@ stub MIMEAssociationDialogW
|
||||||
|
|
|
@ -61,17 +61,19 @@ BOOL WINAPI InetIsOffline(DWORD flags)
|
||||||
* Handles a URL given to it and executes it.
|
* Handles a URL given to it and executes it.
|
||||||
*
|
*
|
||||||
* HWND hWnd - Parent Window
|
* HWND hWnd - Parent Window
|
||||||
|
* HINSTANCE hInst - ignored
|
||||||
* LPCSTR pszUrl - The URL that needs to be handled
|
* LPCSTR pszUrl - The URL that needs to be handled
|
||||||
* int nShowCmd - How to display the operation.
|
* int nShowCmd - How to display the operation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
HRESULT WINAPI FileProtocolHandlerA(HWND hWnd, LPCSTR pszUrl,int nShowCmd)
|
HRESULT WINAPI FileProtocolHandlerA(HWND hWnd, HINSTANCE hInst, LPCSTR pszUrl,
|
||||||
|
int nShowCmd)
|
||||||
{
|
{
|
||||||
CHAR pszPath[MAX_PATH];
|
CHAR pszPath[MAX_PATH];
|
||||||
DWORD size = MAX_PATH;
|
DWORD size = MAX_PATH;
|
||||||
HRESULT createpath = PathCreateFromUrlA(pszUrl,pszPath,&size,0);
|
HRESULT createpath = PathCreateFromUrlA(pszUrl,pszPath,&size,0);
|
||||||
|
|
||||||
TRACE("(%p, %p, %d)\n",hWnd,pszUrl,nShowCmd);
|
TRACE("(%p, %s, %d)\n",hWnd,debugstr_a(pszUrl),nShowCmd);
|
||||||
|
|
||||||
if(createpath != S_OK)
|
if(createpath != S_OK)
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
|
|
Loading…
Reference in a new issue