xapofx1_5: add stub dll
Austin English
austinenglish at gmail.com
Thu Feb 12 14:05:03 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=38003
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150212/7fe6b5d6/attachment.html>
-------------- next part --------------
From c0596650225cdc1efe7d06d4dccd93dc37db9e25 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Thu, 12 Feb 2015 10:58:02 -0800
Subject: [PATCH] xapofx1_5: add stub dll
---
configure.ac | 1 +
dlls/xapofx1_5/Makefile.in | 4 ++++
dlls/xapofx1_5/main.c | 37 +++++++++++++++++++++++++++++++++++++
dlls/xapofx1_5/xapofx1_5.spec | 1 +
4 files changed, 43 insertions(+)
create mode 100644 dlls/xapofx1_5/Makefile.in
create mode 100644 dlls/xapofx1_5/main.c
create mode 100644 dlls/xapofx1_5/xapofx1_5.spec
diff --git a/configure.ac b/configure.ac
index 2e6cb4c..11a3b78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3386,6 +3386,7 @@ WINE_CONFIG_DLL(wuapi,,[clean])
WINE_CONFIG_DLL(wuaueng)
WINE_CONFIG_DLL(x3daudio1_7)
WINE_CONFIG_DLL(xapofx1_1)
+WINE_CONFIG_DLL(xapofx1_5)
WINE_CONFIG_DLL(xaudio2_7)
WINE_CONFIG_DLL(xinput1_1)
WINE_CONFIG_DLL(xinput1_2)
diff --git a/dlls/xapofx1_5/Makefile.in b/dlls/xapofx1_5/Makefile.in
new file mode 100644
index 0000000..e0c6e9a
--- /dev/null
+++ b/dlls/xapofx1_5/Makefile.in
@@ -0,0 +1,4 @@
+MODULE = xapofx1_5.dll
+
+C_SRCS = \
+ main.c
diff --git a/dlls/xapofx1_5/main.c b/dlls/xapofx1_5/main.c
new file mode 100644
index 0000000..1b223ad
--- /dev/null
+++ b/dlls/xapofx1_5/main.c
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 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 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/xapofx1_5/xapofx1_5.spec b/dlls/xapofx1_5/xapofx1_5.spec
new file mode 100644
index 0000000..33269e3
--- /dev/null
+++ b/dlls/xapofx1_5/xapofx1_5.spec
@@ -0,0 +1 @@
+@ stub CreateFX
--
2.2.0
More information about the wine-patches
mailing list