diff --git a/configure b/configure
index f032b1a7a49bd90b3612c89bd7c0e6e2b30bd41a..9e46fbc83a8e3c58f6a73b049494ff5631c8acc2 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 7e3f643dd2846822cdfafb702fc2d4c4590fb50f..ac6ecbb3d550c4dcb7209b6ecf35aa60e6052971 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 0000000000000000000000000000000000000000..134bb184fe2d394aa82af958ca058de076b34ec8
--- /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 0000000000000000000000000000000000000000..ea0fef35ab0970b597e2c9a36dc89bdafa8d861a
--- /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 0000000000000000000000000000000000000000..7771b7b93bf3a2734c48ef91bc672cf592232dc5
--- /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