From b8fc901d5c970a8441cea981261d1790d0ce798c Mon Sep 17 00:00:00 2001 From: Austin English Date: Tue, 7 Jul 2015 11:28:35 -0500 Subject: [PATCH] davclnt: Add stub dll. --- configure | 2 ++ configure.ac | 1 + dlls/davclnt/Makefile.in | 4 ++++ dlls/davclnt/davclnt.spec | 23 ++++++++++++++++++++++ dlls/davclnt/main.c | 40 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 70 insertions(+) create mode 100644 dlls/davclnt/Makefile.in create mode 100644 dlls/davclnt/davclnt.spec create mode 100644 dlls/davclnt/main.c diff --git a/configure b/configure index ebaa38c80e4..91e1f6700ea 100755 --- a/configure +++ b/configure @@ -1022,6 +1022,7 @@ enable_d3dx9_41 enable_d3dx9_42 enable_d3dx9_43 enable_d3dxof +enable_davclnt enable_dbgeng enable_dbghelp 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 d3dxof enable_d3dxof clean,implib 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 dbghelp enable_dbghelp implib wine_fn_config_dll dciman32 enable_dciman32 implib diff --git a/configure.ac b/configure.ac index fa58592a865..3eaec29bc02 100644 --- a/configure.ac +++ b/configure.ac @@ -2894,6 +2894,7 @@ WINE_CONFIG_DLL(d3dx9_42) WINE_CONFIG_DLL(d3dx9_43) WINE_CONFIG_DLL(d3dxof,,[clean,implib]) WINE_CONFIG_TEST(dlls/d3dxof/tests) +WINE_CONFIG_DLL(davclnt) WINE_CONFIG_DLL(dbgeng,,[implib]) WINE_CONFIG_DLL(dbghelp,,[implib]) WINE_CONFIG_DLL(dciman32,,[implib]) diff --git a/dlls/davclnt/Makefile.in b/dlls/davclnt/Makefile.in new file mode 100644 index 00000000000..73af482f5d3 --- /dev/null +++ b/dlls/davclnt/Makefile.in @@ -0,0 +1,4 @@ +MODULE = davclnt.dll + +C_SRCS = \ + main.c diff --git a/dlls/davclnt/davclnt.spec b/dlls/davclnt/davclnt.spec new file mode 100644 index 00000000000..996a595e721 --- /dev/null +++ b/dlls/davclnt/davclnt.spec @@ -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 diff --git a/dlls/davclnt/main.c b/dlls/davclnt/main.c new file mode 100644 index 00000000000..099b9159dde --- /dev/null +++ b/dlls/davclnt/main.c @@ -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 + +#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; +}