mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
Stub out just enough of wininet.dll to make the AbiWord installer happy
svn path=/trunk/; revision=7981
This commit is contained in:
parent
3651baea0a
commit
de26fb22b7
10
reactos/lib/wininet/.cvsignore
Normal file
10
reactos/lib/wininet/.cvsignore
Normal file
|
@ -0,0 +1,10 @@
|
|||
temp.exp
|
||||
*.a
|
||||
*.o
|
||||
*.bin
|
||||
*.dll
|
||||
*.lib
|
||||
*.coff
|
||||
*.sym
|
||||
*.tmp
|
||||
*.map
|
26
reactos/lib/wininet/Makefile
Normal file
26
reactos/lib/wininet/Makefile
Normal 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
|
4
reactos/lib/wininet/README.txt
Normal file
4
reactos/lib/wininet/README.txt
Normal 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.
|
51
reactos/lib/wininet/stubs.c
Normal file
51
reactos/lib/wininet/stubs.c
Normal 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;
|
||||
}
|
7
reactos/lib/wininet/wininet.def
Normal file
7
reactos/lib/wininet/wininet.def
Normal 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
|
7
reactos/lib/wininet/wininet.edf
Normal file
7
reactos/lib/wininet/wininet.edf
Normal 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
|
Loading…
Reference in a new issue