[pkg-wine-party] [wine] 22/309: x3daudio1_6: Add stub dll.

Michael Gilbert mgilbert at moszumanska.debian.org
Sat Mar 7 06:14:55 UTC 2015


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

mgilbert pushed a commit to branch master
in repository wine.

commit 06ebbe77a069820d92a57623a8c4d66622cd3bc5
Author: Austin English <austinenglish at gmail.com>
Date:   Fri Feb 20 13:10:39 2015 -0600

    x3daudio1_6: Add stub dll.
---
 configure                         |  2 ++
 configure.ac                      |  1 +
 dlls/x3daudio1_6/Makefile.in      |  4 ++++
 dlls/x3daudio1_6/main.c           | 40 +++++++++++++++++++++++++++++++++++++++
 dlls/x3daudio1_6/x3daudio1_6.spec |  2 ++
 5 files changed, 49 insertions(+)

diff --git a/configure b/configure
index d59987b..3c2a1bc 100755
--- a/configure
+++ b/configure
@@ -1324,6 +1324,7 @@ enable_wtsapi32
 enable_wuapi
 enable_wuaueng
 enable_x3daudio1_1
+enable_x3daudio1_6
 enable_x3daudio1_7
 enable_xapofx1_1
 enable_xapofx1_3
@@ -17678,6 +17679,7 @@ wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
 wine_fn_config_dll wuapi enable_wuapi clean
 wine_fn_config_dll wuaueng enable_wuaueng
 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
+wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
diff --git a/configure.ac b/configure.ac
index f611fa5..03f629a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3385,6 +3385,7 @@ WINE_CONFIG_TEST(dlls/wtsapi32/tests)
 WINE_CONFIG_DLL(wuapi,,[clean])
 WINE_CONFIG_DLL(wuaueng)
 WINE_CONFIG_DLL(x3daudio1_1)
+WINE_CONFIG_DLL(x3daudio1_6)
 WINE_CONFIG_DLL(x3daudio1_7)
 WINE_CONFIG_DLL(xapofx1_1)
 WINE_CONFIG_DLL(xapofx1_3)
diff --git a/dlls/x3daudio1_6/Makefile.in b/dlls/x3daudio1_6/Makefile.in
new file mode 100644
index 0000000..ad59b8f
--- /dev/null
+++ b/dlls/x3daudio1_6/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = x3daudio1_6.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/x3daudio1_6/main.c b/dlls/x3daudio1_6/main.c
new file mode 100644
index 0000000..ea6732f
--- /dev/null
+++ b/dlls/x3daudio1_6/main.c
@@ -0,0 +1,40 @@
+/*
+ * Copyright 2015 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 hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    switch (fdwReason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/x3daudio1_6/x3daudio1_6.spec b/dlls/x3daudio1_6/x3daudio1_6.spec
new file mode 100644
index 0000000..9a51f1b
--- /dev/null
+++ b/dlls/x3daudio1_6/x3daudio1_6.spec
@@ -0,0 +1,2 @@
+@ stub X3DAudioCalculate
+@ stub X3DAudioInitialize

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