wsdapi: Add stub DLL.

Signed-off-by: Owen Rudge <orudge@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Owen Rudge 2017-03-29 22:51:44 +01:00 committed by Alexandre Julliard
parent ec3d34a5a6
commit 4a3bb0acc5
5 changed files with 97 additions and 0 deletions

2
configure vendored
View File

@ -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

View File

@ -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])

6
dlls/wsdapi/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = wsdapi.dll
IMPORTLIB = wsdapi
IMPORTS = kernel32
C_SRCS = \
main.c

43
dlls/wsdapi/main.c Normal file
View File

@ -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;
}

45
dlls/wsdapi/wsdapi.spec Normal file
View File

@ -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