url: Fix the InetIsOffline() prototype.

Add a skeleton intshcut.h header declaring InetIsOffline(), and use it.
This commit is contained in:
Francois Gouget 2007-09-01 02:42:51 +02:00 committed by Alexandre Julliard
parent 11ab3dacfd
commit 16793656ea
4 changed files with 41 additions and 3 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -188,6 +188,7 @@ SRCDIR_INCLUDES = \
imagehlp.h \
imm.h \
initguid.h \
intshcut.h \
ipexport.h \
iphlpapi.h \
ipifcons.h \

36
include/intshcut.h Normal file
View File

@ -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 */