[PATCH 4/4] xapofx1_2: Forward to xapofx1_5

Andrew Eikum aeikum at codeweavers.com
Mon Oct 5 11:33:42 CDT 2015


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
---
 configure.ac                  |  1 +
 dlls/xapofx1_2/Makefile.in    |  4 ++++
 dlls/xapofx1_2/main.c         | 45 +++++++++++++++++++++++++++++++++++++++++++
 dlls/xapofx1_2/xapofx1_2.spec |  1 +
 4 files changed, 51 insertions(+)
 create mode 100644 dlls/xapofx1_2/Makefile.in
 create mode 100644 dlls/xapofx1_2/main.c
 create mode 100644 dlls/xapofx1_2/xapofx1_2.spec

diff --git a/configure.ac b/configure.ac
index d350ea6..62abe1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3457,6 +3457,7 @@ WINE_CONFIG_DLL(x3daudio1_5)
 WINE_CONFIG_DLL(x3daudio1_6)
 WINE_CONFIG_DLL(x3daudio1_7)
 WINE_CONFIG_DLL(xapofx1_1)
+WINE_CONFIG_DLL(xapofx1_2)
 WINE_CONFIG_DLL(xapofx1_3)
 WINE_CONFIG_DLL(xapofx1_4)
 WINE_CONFIG_DLL(xapofx1_5)
diff --git a/dlls/xapofx1_2/Makefile.in b/dlls/xapofx1_2/Makefile.in
new file mode 100644
index 0000000..fb76b12
--- /dev/null
+++ b/dlls/xapofx1_2/Makefile.in
@@ -0,0 +1,4 @@
+MODULE    = xapofx1_2.dll
+
+C_SRCS = \
+	main.c
diff --git a/dlls/xapofx1_2/main.c b/dlls/xapofx1_2/main.c
new file mode 100644
index 0000000..e873b58
--- /dev/null
+++ b/dlls/xapofx1_2/main.c
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2015 Andrew Eikum 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 "config.h"
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(xapofx);
+
+/*****************************************************
+ *      DllMain
+ */
+BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
+{
+    TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
+
+    switch(reason)
+    {
+    case DLL_WINE_PREATTACH:
+        return FALSE;  /* prefer native version */
+
+    case DLL_PROCESS_ATTACH:
+        DisableThreadLibraryCalls(hinst);
+        break;
+    }
+    return TRUE;
+}
diff --git a/dlls/xapofx1_2/xapofx1_2.spec b/dlls/xapofx1_2/xapofx1_2.spec
new file mode 100644
index 0000000..bc17511
--- /dev/null
+++ b/dlls/xapofx1_2/xapofx1_2.spec
@@ -0,0 +1 @@
+@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX
-- 
2.6.0




More information about the wine-patches mailing list