winhttp: Added winhttp.dll.
This commit is contained in:
parent
43a072b1cb
commit
21572967db
|
@ -425,6 +425,7 @@ ALL_MAKEFILES = \
|
||||||
dlls/winequartz.drv/Makefile \
|
dlls/winequartz.drv/Makefile \
|
||||||
dlls/winex11.drv/Makefile \
|
dlls/winex11.drv/Makefile \
|
||||||
dlls/wing32/Makefile \
|
dlls/wing32/Makefile \
|
||||||
|
dlls/winhttp/Makefile \
|
||||||
dlls/wininet/Makefile \
|
dlls/wininet/Makefile \
|
||||||
dlls/wininet/tests/Makefile \
|
dlls/wininet/tests/Makefile \
|
||||||
dlls/winmm/Makefile \
|
dlls/winmm/Makefile \
|
||||||
|
@ -786,6 +787,7 @@ dlls/wineps.drv/Makefile: dlls/wineps.drv/Makefile.in dlls/Makedll.rules
|
||||||
dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules
|
dlls/winequartz.drv/Makefile: dlls/winequartz.drv/Makefile.in dlls/Makedll.rules
|
||||||
dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules
|
dlls/winex11.drv/Makefile: dlls/winex11.drv/Makefile.in dlls/Makedll.rules
|
||||||
dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules
|
dlls/wing32/Makefile: dlls/wing32/Makefile.in dlls/Makedll.rules
|
||||||
|
dlls/winhttp/Makefile: dlls/winhttp/Makefile.in dlls/Makedll.rules
|
||||||
dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules
|
dlls/wininet/Makefile: dlls/wininet/Makefile.in dlls/Makedll.rules
|
||||||
dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules
|
dlls/wininet/tests/Makefile: dlls/wininet/tests/Makefile.in dlls/Maketest.rules
|
||||||
dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules
|
dlls/winmm/Makefile: dlls/winmm/Makefile.in dlls/Makedll.rules
|
||||||
|
|
|
@ -20799,6 +20799,8 @@ ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/wing32/Makefile"
|
ac_config_files="$ac_config_files dlls/wing32/Makefile"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files dlls/winhttp/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/wininet/Makefile"
|
ac_config_files="$ac_config_files dlls/wininet/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
|
ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
|
||||||
|
@ -21790,6 +21792,7 @@ do
|
||||||
"dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
|
"dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
|
||||||
"dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
|
"dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
|
||||||
"dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
|
"dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
|
||||||
|
"dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
|
||||||
"dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
|
"dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
|
||||||
"dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
|
"dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
|
||||||
"dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
|
"dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
|
||||||
|
|
|
@ -1825,6 +1825,7 @@ AC_CONFIG_FILES([dlls/wineps.drv/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/winequartz.drv/Makefile])
|
AC_CONFIG_FILES([dlls/winequartz.drv/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/winex11.drv/Makefile])
|
AC_CONFIG_FILES([dlls/winex11.drv/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/wing32/Makefile])
|
AC_CONFIG_FILES([dlls/wing32/Makefile])
|
||||||
|
AC_CONFIG_FILES([dlls/winhttp/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/wininet/Makefile])
|
AC_CONFIG_FILES([dlls/wininet/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/wininet/tests/Makefile])
|
AC_CONFIG_FILES([dlls/wininet/tests/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/winmm/Makefile])
|
AC_CONFIG_FILES([dlls/winmm/Makefile])
|
||||||
|
|
|
@ -212,6 +212,7 @@ BASEDIRS = \
|
||||||
wineoss.drv \
|
wineoss.drv \
|
||||||
wineps.drv \
|
wineps.drv \
|
||||||
wing32 \
|
wing32 \
|
||||||
|
winhttp \
|
||||||
wininet \
|
wininet \
|
||||||
winmm \
|
winmm \
|
||||||
winnls32 \
|
winnls32 \
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
TOPSRCDIR = @top_srcdir@
|
||||||
|
TOPOBJDIR = ../..
|
||||||
|
SRCDIR = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
MODULE = winhttp
|
||||||
|
IMPORTS = kernel32
|
||||||
|
|
||||||
|
C_SRCS = main.c
|
||||||
|
|
||||||
|
@MAKE_DLL_RULES@
|
||||||
|
|
||||||
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
|
@ -0,0 +1,84 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2007 Jacek Caban for CodeWeavers
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
#define COBJMACROS
|
||||||
|
|
||||||
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(winhttp);
|
||||||
|
|
||||||
|
/******************************************************************
|
||||||
|
* DllMain (winhttp.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
|
||||||
|
{
|
||||||
|
switch(fdwReason)
|
||||||
|
{
|
||||||
|
case DLL_WINE_PREATTACH:
|
||||||
|
return FALSE; /* prefer native version */
|
||||||
|
case DLL_PROCESS_ATTACH:
|
||||||
|
DisableThreadLibraryCalls(hInstDLL);
|
||||||
|
break;
|
||||||
|
case DLL_PROCESS_DETACH:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************
|
||||||
|
* DllGetClassObject (winhttp.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
|
||||||
|
{
|
||||||
|
FIXME("(%s %s %p)\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
|
||||||
|
return CLASS_E_CLASSNOTAVAILABLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************
|
||||||
|
* DllCanUnloadNow (winhttp.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllCanUnloadNow(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllRegisterServer (winhttp.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllRegisterServer(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* DllUnregisterServer (winhttp.@)
|
||||||
|
*/
|
||||||
|
HRESULT WINAPI DllUnregisterServer(void)
|
||||||
|
{
|
||||||
|
FIXME("()\n");
|
||||||
|
return S_OK;
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
@ stdcall -private DllCanUnloadNow()
|
||||||
|
@ stdcall -private DllGetClassObject(ptr ptr ptr)
|
||||||
|
@ stdcall -private DllRegisterServer()
|
||||||
|
@ stdcall -private DllUnregisterServer()
|
||||||
|
@ stub WinHttpAddRequestHeaders
|
||||||
|
@ stub WinHttpCheckPlatform
|
||||||
|
@ stub WinHttpCloseHandle
|
||||||
|
@ stub WinHttpConnect
|
||||||
|
@ stub WinHttpCrackUrl
|
||||||
|
@ stub WinHttpCreateUrl
|
||||||
|
@ stub WinHttpDetectAutoProxyConfigUrl
|
||||||
|
@ stub WinHttpGetDefaultProxyConfiguration
|
||||||
|
@ stub WinHttpGetIEProxyConfigForCurrentUser
|
||||||
|
@ stub WinHttpGetProxyForUrl
|
||||||
|
@ stub WinHttpOpen
|
||||||
|
@ stub WinHttpOpenRequest
|
||||||
|
@ stub WinHttpQueryAuthSchemes
|
||||||
|
@ stub WinHttpQueryDataAvailable
|
||||||
|
@ stub WinHttpQueryHeaders
|
||||||
|
@ stub WinHttpQueryOption
|
||||||
|
@ stub WinHttpReadData
|
||||||
|
@ stub WinHttpReceiveResponse
|
||||||
|
@ stub WinHttpSendRequest
|
||||||
|
@ stub WinHttpSetCredentials
|
||||||
|
@ stub WinHttpSetDefaultProxyConfiguration
|
||||||
|
@ stub WinHttpSetOption
|
||||||
|
@ stub WinHttpSetStatusCallback
|
||||||
|
@ stub WinHttpSetTimeouts
|
||||||
|
@ stub WinHttpTimeFromSystemTime
|
||||||
|
@ stub WinHttpTimeToSystemTime
|
||||||
|
@ stub WinHttpWriteData
|
Loading…
Reference in New Issue