[PATCH] xaudio2_9: Add version resource

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Nov 10 03:29:59 CST 2020


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50101

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/xaudio2_9/Makefile.in |  2 ++
 dlls/xaudio2_9/version.rc  | 26 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 dlls/xaudio2_9/version.rc

diff --git a/dlls/xaudio2_9/Makefile.in b/dlls/xaudio2_9/Makefile.in
index 1a1982781a1..86f7b99e5eb 100644
--- a/dlls/xaudio2_9/Makefile.in
+++ b/dlls/xaudio2_9/Makefile.in
@@ -14,3 +14,5 @@ C_SRCS = \
 	xaudio_dll.c
 
 IDL_SRCS = xaudio_classes.idl
+
+RC_SRCS = version.rc
diff --git a/dlls/xaudio2_9/version.rc b/dlls/xaudio2_9/version.rc
new file mode 100644
index 00000000000..606abad0600
--- /dev/null
+++ b/dlls/xaudio2_9/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2020 Alsitair Leslie-Hughes
+ *
+ * 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
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine xaudio2_9"
+#define WINE_FILENAME_STR "xaudio2_9.dll"
+#define WINE_FILEVERSION 10,0,19041,1
+#define WINE_FILEVERSION_STR "10.0.19041.1"
+#define WINE_PRODUCTVERSION 10,0,19041,1
+#define WINE_PRODUCTVERSION_STR "10.0.19041.1"
+
+#include "wine/wine_common_ver.rc"
-- 
2.28.0




More information about the wine-devel mailing list