Austin English : msports: Add stub dll.

Alexandre Julliard julliard at winehq.org
Fri Sep 2 11:41:44 CDT 2016


Module: wine
Branch: master
Commit: 7cfa7496c7d891ef2c39b15438b5182bd638fb1e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7cfa7496c7d891ef2c39b15438b5182bd638fb1e

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Aug 31 01:46:55 2016 -0500

msports: Add stub dll.

Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                 |  2 ++
 configure.ac              |  1 +
 dlls/msports/Makefile.in  |  4 ++++
 dlls/msports/main.c       | 45 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/msports/msports.spec | 11 +++++++++++
 5 files changed, 63 insertions(+)

diff --git a/configure b/configure
index 27dcd4b..5b92af9 100755
--- a/configure
+++ b/configure
@@ -1219,6 +1219,7 @@ enable_msisys_ocx
 enable_msls31
 enable_msnet32
 enable_mspatcha
+enable_msports
 enable_msrle32
 enable_msscript_ocx
 enable_mssign32
@@ -17872,6 +17873,7 @@ wine_fn_config_dll msisys.ocx enable_msisys_ocx
 wine_fn_config_dll msls31 enable_msls31
 wine_fn_config_dll msnet32 enable_msnet32
 wine_fn_config_dll mspatcha enable_mspatcha implib
+wine_fn_config_dll msports enable_msports
 wine_fn_config_dll msrle32 enable_msrle32 clean
 wine_fn_config_test dlls/msrle32/tests msrle32_test
 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
diff --git a/configure.ac b/configure.ac
index d008fe8..0331c36 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3093,6 +3093,7 @@ WINE_CONFIG_DLL(msisys.ocx)
 WINE_CONFIG_DLL(msls31)
 WINE_CONFIG_DLL(msnet32)
 WINE_CONFIG_DLL(mspatcha,,[implib])
+WINE_CONFIG_DLL(msports)
 WINE_CONFIG_DLL(msrle32,,[clean])
 WINE_CONFIG_TEST(dlls/msrle32/tests)
 WINE_CONFIG_DLL(msscript.ocx,,[clean])
diff --git a/dlls/msports/Makefile.in b/dlls/msports/Makefile.in
new file mode 100644
index 0000000..d4e8593
--- /dev/null
+++ b/dlls/msports/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = msports.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/msports/main.c b/dlls/msports/main.c
new file mode 100644
index 0000000..fe2c153
--- /dev/null
+++ b/dlls/msports/main.c
@@ -0,0 +1,45 @@
+/*
+ * msports.dll
+ *
+ * Copyright 2016 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"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(msports);
+
+BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *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/msports/msports.spec b/dlls/msports/msports.spec
new file mode 100644
index 0000000..bb4b9c9
--- /dev/null
+++ b/dlls/msports/msports.spec
@@ -0,0 +1,11 @@
+@ stub ComDBClaimNextFreePort
+@ stub ComDBClaimPort
+@ stub ComDBClose
+@ stub ComDBGetCurrentPortUsage
+@ stub ComDBOpen
+@ stub ComDBReleasePort
+@ stub ComDBResizeDatabase
+@ stub ParallelPortPropPageProvider
+@ stub PortsClassInstaller
+@ stub SerialDisplayAdvancedSettings
+@ stub SerialPortPropPageProvider




More information about the wine-cvs mailing list