Module: wine Branch: master Commit: 16793656ea7288516b3cac681fe52355d01ef36f URL: http://source.winehq.org/git/wine.git/?a=commit;h=16793656ea7288516b3cac681f...
Author: Francois Gouget fgouget@free.fr Date: Sat Sep 1 02:42:51 2007 +0200
url: Fix the InetIsOffline() prototype.
Add a skeleton intshcut.h header declaring InetIsOffline(), and use it.
---
dlls/url/url.spec | 2 +- dlls/url/url_main.c | 5 +++-- include/Makefile.in | 1 + include/intshcut.h | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 41 insertions(+), 3 deletions(-)
diff --git a/dlls/url/url.spec b/dlls/url/url.spec index 76981d8..43de3b6 100644 --- a/dlls/url/url.spec +++ b/dlls/url/url.spec @@ -6,7 +6,7 @@ @ stub DummyEntryPointA @ stdcall FileProtocolHandler(long str long) FileProtocolHandlerA @ stdcall FileProtocolHandlerA(long str long) -@ stdcall InetIsOffline() +@ stdcall InetIsOffline(long) @ stub MIMEAssociationDialogA @ stub MIMEAssociationDialogW @ stub MailToProtocolHandler diff --git a/dlls/url/url_main.c b/dlls/url/url_main.c index 0d8b5eb..af960cf 100644 --- a/dlls/url/url_main.c +++ b/dlls/url/url_main.c @@ -23,6 +23,7 @@ #include "winerror.h" #include "shellapi.h" #include "shlwapi.h" +#include "intshcut.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(url); @@ -47,9 +48,9 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved ) * InetIsOffline (URL.@) * */ -BOOL WINAPI InetIsOffline(void) +BOOL WINAPI InetIsOffline(DWORD flags) { - FIXME("stub!\n"); + FIXME("(%08x): stub!\n", flags);
return FALSE; } diff --git a/include/Makefile.in b/include/Makefile.in index 4607006..2557d2a 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -188,6 +188,7 @@ SRCDIR_INCLUDES = \ imagehlp.h \ imm.h \ initguid.h \ + intshcut.h \ ipexport.h \ iphlpapi.h \ ipifcons.h \ diff --git a/include/intshcut.h b/include/intshcut.h new file mode 100644 index 0000000..54c2f2d --- /dev/null +++ b/include/intshcut.h @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2007 Francois Gouget + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#ifndef __WINE_INTSHCUT_H +#define __WINE_INTSHCUT_H + +/* FIXME: #include <isguids.h> */ + +#define INTSHCUTAPI + +#ifdef __cplusplus +extern "C" { +#endif + +BOOL WINAPI InetIsOffline(DWORD); + +#ifdef __cplusplus +} +#endif + +#endif /* __WINE_INTSHCUT_H */