Stub out just enough of wininet.dll to make the AbiWord installer happy

svn path=/trunk/; revision=7981
This commit is contained in:
Gé van Geldorp 2004-02-01 21:33:56 +00:00
parent 3651baea0a
commit de26fb22b7
6 changed files with 105 additions and 0 deletions

View file

@ -0,0 +1,10 @@
temp.exp
*.a
*.o
*.bin
*.dll
*.lib
*.coff
*.sym
*.tmp
*.map

View file

@ -0,0 +1,26 @@
# $Id: Makefile,v 1.1 2004/02/01 21:33:56 gvg Exp $
PATH_TO_TOP = ../..
TARGET_TYPE = dynlink
TARGET_NAME = wininet
TARGET_BASE = 0x70200000
# require os code to explicitly request A/W version of structs/functions
TARGET_CFLAGS += -Wall -Werror
TARGET_SDKLIBS = kernel32.a ntdll.a
TARGET_OBJECTS = stubs.o
TARGET_NORC = yes
DEP_OBJECTS = $(TARGET_OBJECTS)
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk
include $(TOOLS_PATH)/depend.mk

View file

@ -0,0 +1,4 @@
$Id: README.txt,v 1.1 2004/02/01 21:33:56 gvg Exp $
This only contains enough stubs at the moment to satisfy the AbiWord installer.
Please feel free to dump this and replace with something better.

View file

@ -0,0 +1,51 @@
#include <windows.h>
#include <wininet.h>
#define NDEBUG
#include <debug.h>
BOOL WINAPI
DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
return TRUE;
}
BOOL WINAPI
InternetAutodial(DWORD Flags, DWORD /* FIXME: should be HWND */ Parent)
{
DPRINT1("InternetAutodial not implemented\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
DWORD WINAPI
InternetAttemptConnect(DWORD Reserved)
{
DPRINT1("InternetAttemptConnect not implemented\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
BOOL WINAPI
InternetGetConnectedState(LPDWORD Flags, DWORD Reserved)
{
DPRINT1("InternetGetConnectedState not implemented\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
BOOL WINAPI
InternetAutodialHangup(DWORD Reserved)
{
DPRINT1("InternetAutodialHangup not implemented\n");
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}

View file

@ -0,0 +1,7 @@
; $Id: wininet.def,v 1.1 2004/02/01 21:33:56 gvg Exp $
LIBRARY WININET.DLL
EXPORTS
InternetAutodial@8
InternetAttemptConnect@4
InternetGetConnectedState@8
InternetAutodialHangup@4

View file

@ -0,0 +1,7 @@
; $Id: wininet.edf,v 1.1 2004/02/01 21:33:56 gvg Exp $
LIBRARY WININET.DLL
EXPORTS
InternetAutodial=InternetAutodial@8
InternetAttemptConnect=InternetAttemptConnect@4
InternetGetConnectedState=InternetGetConnectedState@8
InternetAutodialHangup=InternetAutodialHangup@4