Index: trunk/src/wininet/initterm.cpp
===================================================================
--- trunk/src/wininet/initterm.cpp	(revision 2226)
+++ trunk/src/wininet/initterm.cpp	(revision 2226)
@@ -0,0 +1,110 @@
+/* $Id: initterm.cpp,v 1.1 1999-12-28 13:02:56 sandervl Exp $ */
+
+/*
+ * DLL entry point
+ *
+ * Copyright 1998 Sander van Leeuwen
+ * Copyright 1998 Peter Fitzsimmons
+ *
+ *
+ * Project Odin Software License can be found in LICENSE.TXT
+ *
+ */
+
+/*-------------------------------------------------------------*/
+/* INITERM.C -- Source for a custom dynamic link library       */
+/*              initialization and termination (_DLL_InitTerm) */
+/*              function.                                      */
+/*                                                             */
+/* When called to perform initialization, this sample function */
+/* gets storage for an array of integers, and initializes its  */
+/* elements with random integers.  At termination time, it     */
+/* frees the array.  Substitute your own special processing.   */
+/*-------------------------------------------------------------*/
+
+
+/* Include files */
+#define  INCL_DOSMODULEMGR
+#define  INCL_DOSPROCESS
+#include <os2wrap.h>    //Odin32 OS/2 api wrappers
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+#include <odin.h>
+#include <win32type.h>
+#include <odinlx.h>
+#include <misc.h>       /*PLF Wed  98-03-18 23:18:15*/
+
+extern "C" {
+void CDECL _ctordtorInit( void );
+void CDECL _ctordtorTerm( void );
+}
+
+/*-------------------------------------------------------------------*/
+/* A clean up routine registered with DosExitList must be used if    */
+/* runtime calls are required and the runtime is dynamically linked. */
+/* This will guarantee that this clean up routine is run before the  */
+/* library DLL is terminated.                                        */
+/*-------------------------------------------------------------------*/
+static void APIENTRY cleanup(ULONG reason);
+
+
+/****************************************************************************/
+/* _DLL_InitTerm is the function that gets called by the operating system   */
+/* loader when it loads and frees this DLL for each process that accesses   */
+/* this DLL.  However, it only gets called the first time the DLL is loaded */
+/* and the last time it is freed for a particular process.  The system      */
+/* linkage convention MUST be used because the operating system loader is   */
+/* calling this function.                                                   */
+/****************************************************************************/
+unsigned long SYSTEM _DLL_InitTerm(unsigned long hModule, unsigned long
+                                   ulFlag)
+{
+   size_t i;
+   APIRET rc;
+
+   /*-------------------------------------------------------------------------*/
+   /* If ulFlag is zero then the DLL is being loaded so initialization should */
+   /* be performed.  If ulFlag is 1 then the DLL is being freed so            */
+   /* termination should be performed.                                        */
+   /*-------------------------------------------------------------------------*/
+
+   switch (ulFlag) {
+      case 0 :
+         _ctordtorInit();
+
+         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
+
+         /*******************************************************************/
+         /* A DosExitList routine must be used to clean up if runtime calls */
+         /* are required and the runtime is dynamically linked.             */
+         /*******************************************************************/
+
+	 if(RegisterLxDll(hModule, 0, 0) == FALSE) 
+		return 0UL;
+
+         rc = DosExitList(0x0000F000|EXLST_ADD, cleanup);
+         if(rc)
+                return 0UL;
+
+         break;
+      case 1 :
+	 UnregisterLxDll(hModule);
+         break;
+      default  :
+         return 0UL;
+   }
+
+   /***********************************************************/
+   /* A non-zero value must be returned to indicate success.  */
+   /***********************************************************/
+   return 1UL;
+}
+
+
+static void APIENTRY cleanup(ULONG ulReason)
+{
+   _ctordtorTerm();
+   DosExitList(EXLST_EXIT, cleanup);
+   return ;
+}
Index: trunk/src/wininet/makefile
===================================================================
--- trunk/src/wininet/makefile	(revision 2226)
+++ trunk/src/wininet/makefile	(revision 2226)
@@ -0,0 +1,52 @@
+# $Id: makefile,v 1.1 1999-12-28 13:02:56 sandervl Exp $
+
+#
+# PD-Win32 API
+#
+#	mpr.dll makefile
+#
+
+PDWIN32_INCLUDE = ..\..\include
+PDWIN32_LIB = ..\..\lib
+PDWIN32_BIN = ..\..\bin
+PDWIN32_TOOLS = ..\..\tools\bin
+
+
+!include $(PDWIN32_INCLUDE)/pdwin32.mk
+
+
+CFLAGS = $(CFLAGS) -I$(PDWIN32_INCLUDE)
+CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
+
+
+TARGET = wininet
+
+OBJS =  wininet.obj initterm.obj
+
+all: $(TARGET).dll $(TARGET).lib
+
+
+$(TARGET).dll: $(OBJS) $(TARGET).def
+	$(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def \
+              $(PDWIN32_LIB)/pmwinx.lib $(PDWIN32_LIB)/kernel32.lib \
+              $(PDWIN32_LIB)/user32.lib $(PDWIN32_LIB)/odincrt.lib \
+              OS2386.LIB $(RTLLIB_O)
+	$(CP) $@ $(PDWIN32_BIN)
+
+
+$(TARGET).lib: $(TARGET)exp.def
+        $(IMPLIB) $(IMPLIBFLAGS) $@ $(TARGET)exp.def
+        $(CP) $@ $(PDWIN32_LIB)
+
+$(TARGET)exp.def: $(TARGET).def
+        $(IMPDEF) $** $@
+
+
+wininet.obj: wininet.cpp
+initterm.obj: initterm.cpp
+
+clean:
+	$(RM) *.obj *.lib *.dll *.map *.pch
+	$(RM) $(PDWIN32_BIN)\$(TARGET).dll
+	$(RM) $(PDWIN32_LIB)\$(TARGET).lib
+
Index: trunk/src/wininet/wininet.cpp
===================================================================
--- trunk/src/wininet/wininet.cpp	(revision 2226)
+++ trunk/src/wininet/wininet.cpp	(revision 2226)
@@ -0,0 +1,828 @@
+/* $Id: wininet.cpp,v 1.1 1999-12-28 13:02:56 sandervl Exp $ */
+/*
+ * WININET stubs
+ *
+ *
+ * Project Odin Software License can be found in LICENSE.TXT
+ *
+ */
+
+#include <os2win.h>
+#include <win\wininet.h>
+
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetTimeFromSystemTime(CONST SYSTEMTIME *pst, DWORD dwRFC,
+                                       LPSTR lpszTime, DWORD cbTime)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCrackUrlA(LPCSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
+                              LPURL_COMPONENTS lpUrlComponents)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+
+BOOL WINAPI InternetCrackUrlW(LPCWSTR lpszUrl, DWORD dwUrlLength, DWORD dwFlags,
+                              LPURL_COMPONENTS lpUrlComponents)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCreateUrlA(LPURL_COMPONENTS lpUrlComponents, DWORD dwFlags,
+                               LPSTR lpszUrl, LPDWORD lpdwUrlLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCreateUrlW(LPURL_COMPONENTS lpUrlComponents, DWORD dwFlags,
+                               LPWSTR lpszUrl, LPDWORD lpdwUrlLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCanonicalizeUrlA(LPCSTR lpszUrl, LPSTR lpszBuffer,
+                                     LPDWORD lpdwBufferLength, DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCanonicalizeUrlW(LPCWSTR lpszUrl, LPWSTR lpszBuffer,
+                                     LPDWORD lpdwBufferLength, DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCombineUrlA(LPCSTR lpszBaseUrl, LPCSTR lpszRelativeUrl,
+                                LPSTR lpszBuffer, LPDWORD lpdwBufferLength,
+                                DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCombineUrlW(LPCWSTR lpszBaseUrl, LPCWSTR lpszRelativeUrl,
+                                LPWSTR lpszBuffer, LPDWORD lpdwBufferLength,
+                                DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetOpenA(LPCSTR lpszAgent, DWORD dwAccessType,
+                               LPCSTR lpszProxy, LPCSTR lpszProxyBypass,
+                               DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetOpenW(LPCWSTR lpszAgent, DWORD dwAccessType,
+                               LPCWSTR lpszProxy, LPCWSTR lpszProxyBypass,
+                               DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetCloseHandle(HINTERNET hInternet)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetConnectA(HINTERNET hInternet, LPCSTR lpszServerName,
+                                  INTERNET_PORT nServerPort, LPCSTR lpszUserName,
+                                  LPCSTR lpszPassword, DWORD dwService,
+                                  DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetConnectW(HINTERNET hInternet, LPCWSTR lpszServerName,
+                                  INTERNET_PORT nServerPort, LPCWSTR lpszUserName,
+                                  LPCWSTR lpszPassword, DWORD dwService,
+                                  DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetOpenUrlA(HINTERNET hInternet, LPCSTR lpszUrl, LPCSTR lpszHeaders,
+                                  DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI InternetOpenUrlW(HINTERNET hInternet, LPCWSTR lpszUrl, LPCWSTR lpszHeaders,
+                                  DWORD dwHeadersLength, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetReadFile(HINTERNET hFile, LPVOID lpBuffer, DWORD dwNumberOfBytesToRead,
+                             LPDWORD lpdwNumberOfBytesRead)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+DWORD WINAPI InternetSetFilePointer(HINTERNET hFile, LONG lDistanceToMove,
+                                    PVOID pReserved, DWORD dwMoveMethod,
+                                    DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetWriteFile(HINTERNET hFile, LPCVOID lpBuffer, DWORD dwNumberOfBytesToWrite,
+                              LPDWORD lpdwNumberOfBytesWritten)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetQueryDataAvailable(HINTERNET hFile,LPDWORD lpdwNumberOfBytesAvailable,    
+                                       DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetFindNextFileA(HINTERNET hFind, LPVOID lpvFindData)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetFindNextFileW(HINTERNET hFind, LPVOID lpvFindData)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetQueryOptionA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                                 LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetQueryOptionW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                                 LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetOptionA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                               DWORD dwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetOptionW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                               DWORD dwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetOptionExA(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                                 DWORD dwBufferLength, DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetOptionExW(HINTERNET hInternet, DWORD dwOption, LPVOID lpBuffer,
+                                 DWORD dwBufferLength, DWORD dwFlags)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetGetLastResponseInfoA(LPDWORD lpdwError, LPSTR lpszBuffer,
+                                         LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetGetLastResponseInfoW(LPDWORD lpdwError, LPWSTR lpszBuffer,
+                                         LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+INTERNET_STATUS_CALLBACK WINAPI InternetSetStatusCallback(HINTERNET hInternet,
+                                                          INTERNET_STATUS_CALLBACK lpfnInternetCallback)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI FtpFindFirstFileA(HINTERNET hConnect, LPCSTR lpszSearchFile,
+                                   LPWIN32_FIND_DATAA lpFindFileData,
+                                   DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI FtpFindFirstFileW(HINTERNET hConnect, LPCWSTR lpszSearchFile,
+                                   LPWIN32_FIND_DATAW lpFindFileData,
+                                   DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpGetFileA(HINTERNET hConnect, LPCSTR lpszRemoteFile,
+                        LPCSTR lpszNewFile, BOOL fFailIfExists,
+                        DWORD dwFlagsAndAttributes, DWORD dwFlags,
+                        DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpGetFileW(HINTERNET hConnect, LPCWSTR lpszRemoteFile,
+                        LPCWSTR lpszNewFile, BOOL fFailIfExists,
+                        DWORD dwFlagsAndAttributes, DWORD dwFlags,
+                        DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpPutFileA(HINTERNET hConnect, LPCSTR lpszLocalFile, LPCSTR lpszNewRemoteFile,
+                        DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpPutFileW(HINTERNET hConnect, LPCWSTR lpszLocalFile, LPCWSTR lpszNewRemoteFile,
+                        DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpDeleteFileA(HINTERNET hConnect, LPCSTR lpszFileName)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpDeleteFileW(HINTERNET hConnect, LPCWSTR lpszFileName)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpRenameFileA(HINTERNET hConnect, LPCSTR lpszExisting, LPCSTR lpszNew)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpRenameFileW(HINTERNET hConnect, LPCWSTR lpszExisting,LPCWSTR lpszNew)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI FtpOpenFileA(HINTERNET hConnect, LPCSTR lpszFileName,
+                              DWORD dwAccess, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI FtpOpenFileW(HINTERNET hConnect, LPCWSTR lpszFileName,
+                              DWORD dwAccess, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpCreateDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpCreateDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpRemoveDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpRemoveDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpSetCurrentDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpSetCurrentDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpGetCurrentDirectoryA(HINTERNET hConnect, LPSTR lpszCurrentDirectory,
+                                    LPDWORD lpdwCurrentDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpGetCurrentDirectoryW(HINTERNET hConnect, LPWSTR lpszCurrentDirectory,
+                                    LPDWORD lpdwCurrentDirectory)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpCommandA(HINTERNET hConnect, BOOL fExpectResponse, DWORD dwFlags,
+                        LPCSTR lpszCommand, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FtpCommandW(HINTERNET hConnect, BOOL fExpectResponse, DWORD dwFlags,
+                        LPCWSTR lpszCommand, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherCreateLocatorA(LPCSTR lpszHost,INTERNET_PORT nServerPort,
+                                 LPCSTR lpszDisplayString, LPCSTR lpszSelectorString,
+                                 DWORD dwGopherType, LPSTR lpszLocator,
+                                 LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherCreateLocatorW(LPCWSTR lpszHost,INTERNET_PORT nServerPort,
+                                 LPCWSTR lpszDisplayString, LPCWSTR lpszSelectorString,
+                                 DWORD dwGopherType, LPWSTR lpszLocator,
+                                 LPDWORD lpdwBufferLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherGetLocatorTypeA(LPCSTR lpszLocator, LPDWORD lpdwGopherType)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherGetLocatorTypeW(LPCWSTR lpszLocator, LPDWORD lpdwGopherType)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI GopherFindFirstFileA(HINTERNET hConnect, LPCSTR lpszLocator,
+                                      LPCSTR lpszSearchString, LPGOPHER_FIND_DATAA lpFindData,
+                                      DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI GopherFindFirstFileW(HINTERNET hConnect, LPCWSTR lpszLocator,
+                                      LPCWSTR lpszSearchString, LPGOPHER_FIND_DATAA lpFindData,
+                                      DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI GopherOpenFileA(HINTERNET hConnect, LPCSTR lpszLocator,
+                                 LPCSTR lpszView, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI GopherOpenFileW(HINTERNET hConnect, LPCWSTR lpszLocator,
+                                 LPCWSTR lpszView, DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherGetAttributeA(HINTERNET hConnect, LPCSTR lpszLocator,
+                                LPCSTR lpszAttributeName, LPBYTE lpBuffer,
+                                DWORD dwBufferLength, LPDWORD lpdwCharactersReturned,
+                                GOPHER_ATTRIBUTE_ENUMERATOR lpfnEnumerator,
+                                DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GopherGetAttributeW(HINTERNET hConnect, LPCWSTR lpszLocator,
+                                LPCWSTR lpszAttributeName, LPBYTE lpBuffer,
+                                DWORD dwBufferLength, LPDWORD lpdwCharactersReturned,
+                                GOPHER_ATTRIBUTE_ENUMERATOR lpfnEnumerator,
+                                DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI HttpOpenRequestA(HINTERNET hConnect, LPCSTR lpszVerb,
+                                  LPCSTR lpszObjectName, LPCSTR lpszVersion,
+                                  LPCSTR lpszReferrer, LPCSTR * lplpszAcceptTypes,
+                                  DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HINTERNET WINAPI HttpOpenRequestW(HINTERNET hConnect, LPCWSTR lpszVerb,
+                                  LPCWSTR lpszObjectName, LPCWSTR lpszVersion,
+                                  LPCWSTR lpszReferrer, LPCWSTR * lplpszAcceptTypes,
+                                  DWORD dwFlags, DWORD dwContext)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hRequest, LPCSTR lpszHeaders,
+                                   DWORD dwHeadersLength, DWORD dwModifiers)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpAddRequestHeadersW(HINTERNET hRequest, LPCWSTR lpszHeaders,
+                                   DWORD dwHeadersLength, DWORD dwModifiers)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpSendRequestA(HINTERNET hRequest, LPCSTR lpszHeaders,
+                             DWORD dwHeadersLength, LPVOID lpOptional,
+                             DWORD dwOptionalLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpSendRequestW(HINTERNET hRequest, LPCWSTR lpszHeaders,
+                             DWORD dwHeadersLength, LPVOID lpOptional,
+                             DWORD dwOptionalLength)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpQueryInfoA(HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpBuffer,
+                           LPDWORD lpdwBufferLength, LPDWORD lpdwIndex)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI HttpQueryInfoW(HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpBuffer,
+                           LPDWORD lpdwBufferLength, LPDWORD lpdwIndex)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName, LPCSTR lpszCookieData)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetSetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPCWSTR lpszCookieData)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetGetCookieA(LPCSTR lpszUrl, LPCSTR lpszCookieName, LPSTR lpCookieData,
+                               LPDWORD lpdwSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI InternetGetCookieW(LPCWSTR lpszUrl, LPCWSTR lpszCookieName, LPWSTR lpCookieData,
+                               LPDWORD lpdwSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
+                              DWORD dwError, DWORD dwFlags, LPVOID * lppvData)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+DWORD WINAPI InternetConfirmZoneCrossing(HWND hWnd, LPSTR szUrlPrev,
+                                         LPSTR szUrlNew, BOOL bPost)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI CreateUrlCacheEntryA(LPCSTR lpszUrlName, DWORD dwExpectedFileSize,
+                                 LPCSTR lpszFileExtension, LPSTR lpszFileName,
+                                 DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI CreateUrlCacheEntryW(LPCWSTR lpszUrlName, DWORD dwExpectedFileSize,
+                                 LPCWSTR lpszFileExtension, LPWSTR lpszFileName,
+                                 DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI CommitUrlCacheEntryA(LPCSTR lpszUrlName, LPCSTR lpszLocalFileName,
+                                 FILETIME ExpireTime, FILETIME LastModifiedTime,
+                                 DWORD CacheEntryType, LPBYTE lpHeaderInfo,
+                                 DWORD dwHeaderSize, LPCTSTR lpszFileExtension,
+                                 DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI CommitUrlCacheEntryW(LPCWSTR lpszUrlName, LPCWSTR lpszLocalFileName,
+                                 FILETIME ExpireTime, FILETIME LastModifiedTime,
+                                 DWORD CacheEntryType, LPBYTE lpHeaderInfo,
+                                 DWORD dwHeaderSize, LPCTSTR lpszFileExtension,
+                                 DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI RetrieveUrlCacheEntryFileA(LPCSTR  lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
+                                       LPDWORD lpdwCacheEntryInfoBufferSize,
+                                       DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI RetrieveUrlCacheEntryFileW(LPCWSTR  lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
+                                       LPDWORD lpdwCacheEntryInfoBufferSize,
+                                       DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI UnlockUrlCacheEntryFile(LPCSTR lpszUrlName, DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HANDLE WINAPI RetrieveUrlCacheEntryStreamA(LPCSTR  lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
+                                           LPDWORD lpdwCacheEntryInfoBufferSize,
+                                           BOOL fRandomRead, DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HANDLE WINAPI RetrieveUrlCacheEntryStreamW(LPCWSTR  lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
+                                           LPDWORD lpdwCacheEntryInfoBufferSize,
+                                           BOOL fRandomRead, DWORD dwReserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI ReadUrlCacheEntryStream(HANDLE hUrlCacheStream, DWORD dwLocation,
+                                    LPVOID lpBuffer, LPDWORD lpdwLen,
+                                    DWORD Reserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI UnlockUrlCacheEntryStream(HANDLE hUrlCacheStream, DWORD Reserved)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GetUrlCacheEntryInfoA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
+                                  LPDWORD lpdwCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI GetUrlCacheEntryInfoW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
+                                  LPDWORD lpdwCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI SetUrlCacheEntryInfoA(LPCSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOA lpCacheEntryInfo,
+                                  DWORD dwFieldControl)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI SetUrlCacheEntryInfoW(LPCWSTR lpszUrlName, LPINTERNET_CACHE_ENTRY_INFOW lpCacheEntryInfo,
+                                  DWORD dwFieldControl)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
+                                      LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo,
+                                      LPDWORD lpdwFirstCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+HANDLE WINAPI FindFirstUrlCacheEntryW(LPCWSTR lpszUrlSearchPattern,
+                                      LPINTERNET_CACHE_ENTRY_INFOW lpFirstCacheEntryInfo,
+                                      LPDWORD lpdwFirstCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FindNextUrlCacheEntryA(HANDLE hEnumHandle,
+                                   LPINTERNET_CACHE_ENTRY_INFOA lpNextCacheEntryInfo,
+                                   LPDWORD lpdwNextCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FindNextUrlCacheEntryW(HANDLE hEnumHandle,
+                                   LPINTERNET_CACHE_ENTRY_INFOW lpNextCacheEntryInfo,
+                                   LPDWORD lpdwNextCacheEntryInfoBufferSize)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI FindCloseUrlCache(HANDLE hEnumHandle)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
+BOOL WINAPI DeleteUrlCacheEntry(LPCSTR lpszUrlName)
+{dprintf(("ERROR:"__FUNCTION__" not implemented"));
+	SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  	return 0;
+}
+//******************************************************************************
+//******************************************************************************
Index: trunk/src/wininet/wininet.def
===================================================================
--- trunk/src/wininet/wininet.def	(revision 2226)
+++ trunk/src/wininet/wininet.def	(revision 2226)
@@ -0,0 +1,175 @@
+; $Id: wininet.def,v 1.1 1999-12-28 13:02:57 sandervl Exp $
+
+;
+; Based on NT 4.0 SP3: WININET.DLL
+;
+LIBRARY WININET INITINSTANCE
+DATA MULTIPLE NONSHARED
+EXPORTS
+
+;  InternetInitializeAutoProxyDll    = _InternetInitializeAutoProxyDll@          @1
+;  ShowCertificate                   = _ShowCertificate@                         @2
+  CommitUrlCacheEntryA              = _CommitUrlCacheEntryA@44                    @3
+  CommitUrlCacheEntryW              = _CommitUrlCacheEntryW@44                    @4
+;  CreateUrlCacheContainerA          = _CreateUrlCacheContainerA@                @5
+;  CreateUrlCacheContainerW          = _CreateUrlCacheContainerW@                @6
+  CreateUrlCacheEntryA              = _CreateUrlCacheEntryA@20                    @7
+  CreateUrlCacheEntryW              = _CreateUrlCacheEntryW@20                    @8
+;  CreateUrlCacheGroup               = _CreateUrlCacheGroup@                     @9
+;  DeleteIE3Cache                    = _DeleteIE3Cache@                          @10
+;  DeleteUrlCacheContainerA          = _DeleteUrlCacheContainerA@                    @11
+;  DeleteUrlCacheContainerW          = _DeleteUrlCacheContainerW@                    @12
+  DeleteUrlCacheEntry               = _DeleteUrlCacheEntry@4                 @13
+;  DeleteUrlCacheGroup               = _DeleteUrlCacheGroup@                 @14
+;  DllInstall                       = _DllInstall@                  @15
+  FindCloseUrlCache                 = _FindCloseUrlCache@4                   @16
+;  FindFirstUrlCacheContainerA       = _FindFirstUrlCacheContainerA@                 @17
+;  FindFirstUrlCacheContainerW       = _FindFirstUrlCacheContainerW@                 @18
+  FindFirstUrlCacheEntryA           = _FindFirstUrlCacheEntryA@12                 @19
+;  FindFirstUrlCacheEntryExA         = _FindFirstUrlCacheEntryExA@                   @20
+;  FindFirstUrlCacheEntryExW         = _FindFirstUrlCacheEntryExW@                   @21
+  FindFirstUrlCacheEntryW           = _FindFirstUrlCacheEntryW@12                 @22
+;  FindNextUrlCacheContainerA        = _FindNextUrlCacheContainerA@                  @23
+;  FindNextUrlCacheContainerW        = _FindNextUrlCacheContainerW@                  @24
+  FindNextUrlCacheEntryA            = _FindNextUrlCacheEntryA@12                  @25
+;  FindNextUrlCacheEntryExA          = _FindNextUrlCacheEntryExA@                    @26
+;  FindNextUrlCacheEntryExW          = _FindNextUrlCacheEntryExW@                    @27
+  FindNextUrlCacheEntryW            = _FindNextUrlCacheEntryW@12                  @28
+;  FreeUrlCacheSpaceA                = _FreeUrlCacheSpaceA@                  @29
+;  FreeUrlCacheSpaceW                = _FreeUrlCacheSpaceW@                  @30
+  FtpCreateDirectoryA               = _FtpCreateDirectoryA@8                 @31
+  FtpCreateDirectoryW               = _FtpCreateDirectoryW@8                 @32
+  FtpDeleteFileA                    = _FtpDeleteFileA@8                  @33
+  FtpDeleteFileW                    = _FtpDeleteFileW@8                  @34
+  FtpFindFirstFileA                 = _FtpFindFirstFileA@20                   @35
+  FtpFindFirstFileW                 = _FtpFindFirstFileW@20                   @36
+  FtpGetCurrentDirectoryA           = _FtpGetCurrentDirectoryA@12                 @37
+  FtpGetCurrentDirectoryW           = _FtpGetCurrentDirectoryW@12                 @38
+  FtpGetFileA                       = _FtpGetFileA@28                 @39
+  FtpGetFileW                       = _FtpGetFileW@28                 @40
+  FtpOpenFileA                      = _FtpOpenFileA@20                    @41
+  FtpOpenFileW                      = _FtpOpenFileW@20                    @42
+  FtpPutFileA                       = _FtpPutFileA@20                 @43
+  FtpPutFileW                       = _FtpPutFileW@20                 @44
+  FtpRemoveDirectoryA               = _FtpRemoveDirectoryA@8                 @45
+  FtpRemoveDirectoryW               = _FtpRemoveDirectoryW@8                 @46
+  FtpRenameFileA                    = _FtpRenameFileA@12                  @47
+  FtpRenameFileW                    = _FtpRenameFileW@12                  @48
+  FtpSetCurrentDirectoryA           = _FtpSetCurrentDirectoryA@8                 @49
+  FtpSetCurrentDirectoryW           = _FtpSetCurrentDirectoryW@8                 @50
+;  GetUrlCacheConfigInfoA            = _GetUrlCacheConfigInfoA@                  @51
+;  GetUrlCacheConfigInfoW            = _GetUrlCacheConfigInfoW@                  @52
+  GetUrlCacheEntryInfoA             = _GetUrlCacheEntryInfoA@12                   @53
+;  GetUrlCacheEntryInfoExA           = _GetUrlCacheEntryInfoExA@                 @54
+;  GetUrlCacheEntryInfoExW           = _GetUrlCacheEntryInfoExW@                 @55
+  GetUrlCacheEntryInfoW             = _GetUrlCacheEntryInfoW@12                   @56
+;  GetUrlCacheHeaderData             = _GetUrlCacheHeaderData@                   @57
+  GopherCreateLocatorA              = _GopherCreateLocatorA@28                    @58
+  GopherCreateLocatorW              = _GopherCreateLocatorW@28                    @59
+  GopherFindFirstFileA              = _GopherFindFirstFileA@24                    @60
+  GopherFindFirstFileW              = _GopherFindFirstFileW@24                    @61
+  GopherGetAttributeA               = _GopherGetAttributeA@32                 @62
+  GopherGetAttributeW               = _GopherGetAttributeW@32                 @63
+  GopherGetLocatorTypeA             = _GopherGetLocatorTypeA@8                   @64
+  GopherGetLocatorTypeW             = _GopherGetLocatorTypeW@8                   @65
+  GopherOpenFileA                   = _GopherOpenFileA@20                 @66
+  GopherOpenFileW                   = _GopherOpenFileW@20                 @67
+  HttpAddRequestHeadersA            = _HttpAddRequestHeadersA@16                @68
+  HttpAddRequestHeadersW            = _HttpAddRequestHeadersW@16                @69
+;  HttpEndRequestA                   = _HttpEndRequestA@                 @70
+;  HttpEndRequestW                   = _HttpEndRequestW@                 @71
+  HttpOpenRequestA                  = _HttpOpenRequestA@32                    @72
+  HttpOpenRequestW                  = _HttpOpenRequestW@32                    @73
+  HttpQueryInfoA                    = _HttpQueryInfoA@20                  @74
+  HttpQueryInfoW                    = _HttpQueryInfoW@20                  @75
+  HttpSendRequestA                  = _HttpSendRequestA@20                    @76
+;  HttpSendRequestExA                = _HttpSendRequestExA@                  @77
+;  HttpSendRequestExW                = _HttpSendRequestExW@                  @78
+  HttpSendRequestW                  = _HttpSendRequestW@20                    @79
+;  IncrementUrlCacheHeaderData       = _IncrementUrlCacheHeaderData@                 @80
+;  InternetAttemptConnect            = _InternetAttemptConnect@                  @81
+;  InternetAutodial                  = _InternetAutodial@                    @82
+;  InternetAutodialCallback          = _InternetAutodialCallback@                    @83
+;  InternetAutodialHangup            = _InternetAutodialHangup@                  @84
+  InternetCanonicalizeUrlA          = _InternetCanonicalizeUrlA@16                    @85
+  InternetCanonicalizeUrlW          = _InternetCanonicalizeUrlW@16                    @86
+;  InternetCheckConnectionA          = _InternetCheckConnectionA@                    @87
+;  InternetCheckConnectionW          = _InternetCheckConnectionW@                    @88
+  InternetCloseHandle               = _InternetCloseHandle@4                 @89
+  InternetCombineUrlA               = _InternetCombineUrlA@20                 @90
+  InternetCombineUrlW               = _InternetCombineUrlW@20                 @91
+  InternetConfirmZoneCrossing       = _InternetConfirmZoneCrossing@16                 @92
+  InternetConnectA                  = _InternetConnectA@32                    @93
+  InternetConnectW                  = _InternetConnectW@32                    @94
+  InternetCrackUrlA                 = _InternetCrackUrlA@16                   @95
+  InternetCrackUrlW                 = _InternetCrackUrlW@16                   @96
+  InternetCreateUrlA                = _InternetCreateUrlA@16                  @97
+  InternetCreateUrlW                = _InternetCreateUrlW@16                  @98
+;  InternetDebugGetLocalTime         = _InternetDebugGetLocalTime@                   @99
+;  InternetDial                      = _InternetDial@                    @100
+  InternetErrorDlg                  = _InternetErrorDlg@20                    @101
+  InternetFindNextFileA             = _InternetFindNextFileA@8                   @102
+  InternetFindNextFileW             = _InternetFindNextFileW@8                   @103
+;  InternetGetCertByURL              = _InternetGetCertByURL@                    @104
+;  InternetGetConnectedState         = _InternetGetConnectedState@                   @105
+  InternetGetCookieA                = _InternetGetCookieA@16                  @106
+  InternetGetCookieW                = _InternetGetCookieW@16                  @107
+  InternetGetLastResponseInfoA      = _InternetGetLastResponseInfoA@12                    @108
+  InternetGetLastResponseInfoW      = _InternetGetLastResponseInfoW@12                    @109
+;  InternetGoOnline                  = _InternetGoOnline@                    @110
+;  InternetHangUp                    = _InternetHangUp@                  @111
+;  InternetLockRequestFile           = _InternetLockRequestFile@                 @112
+  InternetOpenA                     = _InternetOpenA@20                   @113
+;  InternetOpenServerPushParse       = _InternetOpenServerPushParse@                 @114
+  InternetOpenUrlA                  = _InternetOpenUrlA@24                    @115
+  InternetOpenUrlW                  = _InternetOpenUrlW@24                    @116
+  InternetOpenW                     = _InternetOpenW@20                   @117
+  InternetQueryDataAvailable        = _InternetQueryDataAvailable@16                  @118
+  InternetQueryOptionA              = _InternetQueryOptionA@16                    @119
+  InternetQueryOptionW              = _InternetQueryOptionW@16                    @120
+  InternetReadFile                  = _InternetReadFile@16                    @121
+;  InternetReadFileExA               = _InternetReadFileExA@                 @122
+;  InternetReadFileExW               = _InternetReadFileExW@                 @123
+;  InternetServerPushParse           = _InternetServerPushParse@                 @124
+  InternetSetCookieA                = _InternetSetCookieA@12                  @125
+  InternetSetCookieW                = _InternetSetCookieW@12                  @126
+;  InternetSetDialState              = _InternetSetDialState@                    @127
+  InternetSetFilePointer            = _InternetSetFilePointer@20                  @128
+  InternetSetOptionA                = _InternetSetOptionA@16                  @129
+  InternetSetOptionExA              = _InternetSetOptionExA@20                    @130
+  InternetSetOptionExW              = _InternetSetOptionExW@20                    @131
+  InternetSetOptionW                = _InternetSetOptionW@16                  @132
+  InternetSetStatusCallback         = _InternetSetStatusCallback@8                   @133
+;  InternetShowSecurityInfoByURL     = _InternetShowSecurityInfoByURL@                   @134
+  InternetTimeFromSystemTime        = _InternetTimeFromSystemTime@16                  @135
+;  InternetTimeToSystemTime          = _InternetTimeToSystemTime@                    @136
+;  InternetUnlockRequestFile         = _InternetUnlockRequestFile@                   @137
+  InternetWriteFile                 = _InternetWriteFile@16                   @138
+;  InternetWriteFileExA              = _InternetWriteFileExA@                    @139
+;  InternetWriteFileExW              = _InternetWriteFileExW@                    @140
+;  IsHostInProxyBypassList           = _IsHostInProxyBypassList@                 @141
+;  LoadUrlCacheContent               = _LoadUrlCacheContent@                 @142
+;  ParseX509EncodedCertificateForListBoxEntry = _ParseX509EncodedCertificateForListBoxEntry@                  @143
+  ReadUrlCacheEntryStream           = _ReadUrlCacheEntryStream@20                 @144
+  RetrieveUrlCacheEntryFileA        = _RetrieveUrlCacheEntryFileA@16                  @145
+  RetrieveUrlCacheEntryFileW        = _RetrieveUrlCacheEntryFileW@16                  @146
+  RetrieveUrlCacheEntryStreamA      = _RetrieveUrlCacheEntryStreamA@20                    @147
+  RetrieveUrlCacheEntryStreamW      = _RetrieveUrlCacheEntryStreamW@20                    @148
+;  RunOnceUrlCache                   = _RunOnceUrlCache@                 @149
+;  SetUrlCacheConfigInfoA            = _SetUrlCacheConfigInfoA@                  @150
+;  SetUrlCacheConfigInfoW            = _SetUrlCacheConfigInfoW@                  @151
+;  SetUrlCacheEntryGroup             = _SetUrlCacheEntryGroup@                   @152
+  SetUrlCacheEntryInfoA             = _SetUrlCacheEntryInfoA@12                   @153
+  SetUrlCacheEntryInfoW             = _SetUrlCacheEntryInfoW@12                   @154
+;  SetUrlCacheHeaderData             = _SetUrlCacheHeaderData@                   @155
+;  ShowClientAuthCerts               = _ShowClientAuthCerts@                 @156
+;  ShowSecurityInfo                  = _ShowSecurityInfo@                    @157
+;  ShowX509EncodedCertificate        = _ShowX509EncodedCertificate@                  @158
+  UnlockUrlCacheEntryFile           = _UnlockUrlCacheEntryFile@8                 @159
+  UnlockUrlCacheEntryStream         = _UnlockUrlCacheEntryStream@8                   @160
+;  UpdateUrlCacheContentPath         = _UpdateUrlCacheContentPath@                   @161
+
+
+  ;ordinals???
+  FtpCommandA                       = _FtpCommandA@20                               @200
+  FtpCommandW                       = _FtpCommandW@20                               @201
