[pkg-wine-party] [wine] 182/188: mfreadwrite: Add stub dll.

Michael Gilbert mgilbert at moszumanska.debian.org
Sat Dec 20 07:50:21 UTC 2014


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 89ecba6c48bdb74595740b012c01d226c9d11595
Author: Austin English <austinenglish at gmail.com>
Date:   Wed Dec 10 15:51:07 2014 -0800

    mfreadwrite: Add stub dll.
---
 configure                         |  2 ++
 configure.ac                      |  1 +
 dlls/mfreadwrite/Makefile.in      |  4 ++++
 dlls/mfreadwrite/main.c           | 38 ++++++++++++++++++++++++++++++++++++++
 dlls/mfreadwrite/mfreadwrite.spec |  7 +++++++
 5 files changed, 52 insertions(+)

diff --git a/configure b/configure
index eebde01..a9ee86f 100755
--- a/configure
+++ b/configure
@@ -1097,6 +1097,7 @@ enable_mciqtz32
 enable_mciseq
 enable_mciwave
 enable_mfplat
+enable_mfreadwrite
 enable_mgmtapi
 enable_midimap
 enable_mlang
@@ -17180,6 +17181,7 @@ wine_fn_config_dll mciqtz32 enable_mciqtz32
 wine_fn_config_dll mciseq enable_mciseq
 wine_fn_config_dll mciwave enable_mciwave
 wine_fn_config_dll mfplat enable_mfplat
+wine_fn_config_dll mfreadwrite enable_mfreadwrite
 wine_fn_config_dll mgmtapi enable_mgmtapi
 wine_fn_config_dll midimap enable_midimap
 wine_fn_config_dll mlang enable_mlang clean,implib
diff --git a/configure.ac b/configure.ac
index 9458b2b..de6d2cc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3006,6 +3006,7 @@ WINE_CONFIG_DLL(mciqtz32)
 WINE_CONFIG_DLL(mciseq)
 WINE_CONFIG_DLL(mciwave)
 WINE_CONFIG_DLL(mfplat)
+WINE_CONFIG_DLL(mfreadwrite)
 WINE_CONFIG_DLL(mgmtapi)
 WINE_CONFIG_DLL(midimap)
 WINE_CONFIG_DLL(mlang,,[clean,implib])
diff --git a/dlls/mfreadwrite/Makefile.in b/dlls/mfreadwrite/Makefile.in
new file mode 100644
index 0000000..7cf3a59
--- /dev/null
+++ b/dlls/mfreadwrite/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = mfreadwrite.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/mfreadwrite/main.c b/dlls/mfreadwrite/main.c
new file mode 100644
index 0000000..a72f634
--- /dev/null
+++ b/dlls/mfreadwrite/main.c
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright 2014 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"
+
+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;
+}
diff --git a/dlls/mfreadwrite/mfreadwrite.spec b/dlls/mfreadwrite/mfreadwrite.spec
new file mode 100644
index 0000000..1f9f30f
--- /dev/null
+++ b/dlls/mfreadwrite/mfreadwrite.spec
@@ -0,0 +1,7 @@
+@ stub DllCanUnloadNow
+@ stub DllGetClassObject
+@ stub MFCreateSinkWriterFromMediaSink
+@ stub MFCreateSinkWriterFromURL
+@ stub MFCreateSourceReaderFromByteStream
+@ stub MFCreateSourceReaderFromMediaSource
+@ stub MFCreateSourceReaderFromURL

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list