davclnt: Add stub dll.

This commit is contained in:
Austin English 2015-07-07 11:28:35 -05:00 committed by Alexandre Julliard
parent 8723d3455e
commit b8fc901d5c
5 changed files with 70 additions and 0 deletions

2
configure vendored
View File

@ -1022,6 +1022,7 @@ enable_d3dx9_41
enable_d3dx9_42 enable_d3dx9_42
enable_d3dx9_43 enable_d3dx9_43
enable_d3dxof enable_d3dxof
enable_davclnt
enable_dbgeng enable_dbgeng
enable_dbghelp enable_dbghelp
enable_dciman32 enable_dciman32
@ -17197,6 +17198,7 @@ wine_fn_config_dll d3dx9_42 enable_d3dx9_42
wine_fn_config_dll d3dx9_43 enable_d3dx9_43 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
wine_fn_config_dll d3dxof enable_d3dxof clean,implib wine_fn_config_dll d3dxof enable_d3dxof clean,implib
wine_fn_config_test dlls/d3dxof/tests d3dxof_test wine_fn_config_test dlls/d3dxof/tests d3dxof_test
wine_fn_config_dll davclnt enable_davclnt
wine_fn_config_dll dbgeng enable_dbgeng implib wine_fn_config_dll dbgeng enable_dbgeng implib
wine_fn_config_dll dbghelp enable_dbghelp implib wine_fn_config_dll dbghelp enable_dbghelp implib
wine_fn_config_dll dciman32 enable_dciman32 implib wine_fn_config_dll dciman32 enable_dciman32 implib

View File

@ -2894,6 +2894,7 @@ WINE_CONFIG_DLL(d3dx9_42)
WINE_CONFIG_DLL(d3dx9_43) WINE_CONFIG_DLL(d3dx9_43)
WINE_CONFIG_DLL(d3dxof,,[clean,implib]) WINE_CONFIG_DLL(d3dxof,,[clean,implib])
WINE_CONFIG_TEST(dlls/d3dxof/tests) WINE_CONFIG_TEST(dlls/d3dxof/tests)
WINE_CONFIG_DLL(davclnt)
WINE_CONFIG_DLL(dbgeng,,[implib]) WINE_CONFIG_DLL(dbgeng,,[implib])
WINE_CONFIG_DLL(dbghelp,,[implib]) WINE_CONFIG_DLL(dbghelp,,[implib])
WINE_CONFIG_DLL(dciman32,,[implib]) WINE_CONFIG_DLL(dciman32,,[implib])

4
dlls/davclnt/Makefile.in Normal file
View File

@ -0,0 +1,4 @@
MODULE = davclnt.dll
C_SRCS = \
main.c

23
dlls/davclnt/davclnt.spec Normal file
View File

@ -0,0 +1,23 @@
@ stub DavCancelConnectionsToServer
@ stub DavFreeUsedDiskSpace
@ stub DavGetDiskSpaceUsage
@ stub DavGetTheLockOwnerOfTheFile
@ stub DavInvalidateCache
@ stub DavRegisterAuthCallback
@ stub DavUnregisterAuthCallback
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr)
@ stub NPAddConnection3
@ stub NPAddConnection
@ stub NPCancelConnection
@ stub NPCloseEnum
@ stub NPEnumResource
@ stub NPFormatNetworkName
@ stub NPGetCaps
@ stub NPGetConnection
@ stub NPGetResourceInformation
@ stub NPGetResourceParent
@ stub NPGetUniversalName
@ stub NPGetUser
@ stub NPOpenEnum

40
dlls/davclnt/main.c Normal file
View File

@ -0,0 +1,40 @@
/*
* WebDav Client
*
* Copyright 2015 Austin English
*
* 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>
#include "windef.h"
#include "winbase.h"
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
break;
}
return TRUE;
}