Module: wine Branch: master Commit: 4a3bb0acc58ff081940d8e9bd8269bab3086602c URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a3bb0acc58ff081940d8e9bd8...
Author: Owen Rudge orudge@codeweavers.com Date: Wed Mar 29 22:51:44 2017 +0100
wsdapi: Add stub DLL.
Signed-off-by: Owen Rudge orudge@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 ++ configure.ac | 1 + dlls/wsdapi/Makefile.in | 6 ++++++ dlls/wsdapi/main.c | 43 +++++++++++++++++++++++++++++++++++++++++++ dlls/wsdapi/wsdapi.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 97 insertions(+)
diff --git a/configure b/configure index f032b1a..9e46fbc 100755 --- a/configure +++ b/configure @@ -1496,6 +1496,7 @@ enable_wnaspi32 enable_wpc enable_wpcap enable_ws2_32 +enable_wsdapi enable_wshom_ocx enable_wsnmp32 enable_wsock32 @@ -18479,6 +18480,7 @@ wine_fn_config_test dlls/wpc/tests wpc_test wine_fn_config_dll wpcap enable_wpcap wine_fn_config_dll ws2_32 enable_ws2_32 implib wine_fn_config_test dlls/ws2_32/tests ws2_32_test +wine_fn_config_dll wsdapi enable_wsdapi implib wine_fn_config_dll wshom.ocx enable_wshom_ocx clean wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean wine_fn_config_dll wsnmp32 enable_wsnmp32 implib diff --git a/configure.ac b/configure.ac index 7e3f643..ac6ecbb 100644 --- a/configure.ac +++ b/configure.ac @@ -3527,6 +3527,7 @@ WINE_CONFIG_TEST(dlls/wpc/tests) WINE_CONFIG_DLL(wpcap) WINE_CONFIG_DLL(ws2_32,,[implib]) WINE_CONFIG_TEST(dlls/ws2_32/tests) +WINE_CONFIG_DLL(wsdapi,,[implib]) WINE_CONFIG_DLL(wshom.ocx,,[clean]) WINE_CONFIG_TEST(dlls/wshom.ocx/tests,[clean]) WINE_CONFIG_DLL(wsnmp32,,[implib]) diff --git a/dlls/wsdapi/Makefile.in b/dlls/wsdapi/Makefile.in new file mode 100644 index 0000000..134bb18 --- /dev/null +++ b/dlls/wsdapi/Makefile.in @@ -0,0 +1,6 @@ +MODULE = wsdapi.dll +IMPORTLIB = wsdapi +IMPORTS = kernel32 + +C_SRCS = \ + main.c diff --git a/dlls/wsdapi/main.c b/dlls/wsdapi/main.c new file mode 100644 index 0000000..ea0fef3 --- /dev/null +++ b/dlls/wsdapi/main.c @@ -0,0 +1,43 @@ +/* + * Web Services on Devices + * + * Copyright 2017 Owen Rudge 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 <stdarg.h> + +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wsdapi); + +BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) +{ + TRACE("(%p, %u, %p)\n", instance, reason, reserved); + + switch (reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); + break; + } + + return TRUE; +} diff --git a/dlls/wsdapi/wsdapi.spec b/dlls/wsdapi/wsdapi.spec new file mode 100644 index 0000000..7771b7b --- /dev/null +++ b/dlls/wsdapi/wsdapi.spec @@ -0,0 +1,45 @@ +@ stub WSDAddFirewallCheck +@ stub WSDCancelNetworkChangeNotify +@ stub WSDCopyNameList +@ stub WSDNotifyNetworkChange +@ stub WSDRemoveFirewallCheck +@ stub WSDXMLCompareNames +@ stub WSDAllocateLinkedMemory +@ stub WSDAttachLinkedMemory +@ stub WSDCompareEndpoints +@ stub WSDCopyEndpoint +@ stub WSDCreateDeviceHost2 +@ stub WSDCreateDeviceHost +@ stub WSDCreateDeviceHostAdvanced +@ stub WSDCreateDeviceProxy2 +@ stub WSDCreateDeviceProxy +@ stub WSDCreateDeviceProxyAdvanced +@ stub WSDCreateDiscoveryProvider2 +@ stub WSDCreateDiscoveryProvider +@ stub WSDCreateDiscoveryPublisher2 +@ stub WSDCreateDiscoveryPublisher +@ stub WSDCreateHttpAddress +@ stub WSDCreateHttpMessageParameters +@ stub WSDCreateHttpTransport +@ stub WSDCreateMetadataAgent +@ stub WSDCreateOutboundAttachment +@ stub WSDCreateUdpAddress +@ stub WSDCreateUdpMessageParameters +@ stub WSDCreateUdpTransport +@ stub WSDDetachLinkedMemory +@ stub WSDFreeLinkedMemory +@ stub WSDGenerateFault +@ stub WSDGenerateFaultEx +@ stub WSDGenerateRandomDelay +@ stub WSDGetConfigurationOption +@ stub WSDProcessFault +@ stub WSDSetConfigurationOption +@ stub WSDUriDecode +@ stub WSDUriEncode +@ stub WSDXMLAddChild +@ stub WSDXMLAddSibling +@ stub WSDXMLBuildAnyForSingleElement +@ stub WSDXMLCleanupElement +@ stub WSDXMLCreateContext +@ stub WSDXMLGetNameFromBuiltinNamespace +@ stub WSDXMLGetValueFromAny