https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0fdb5d9b63fb421aaf274…
commit 0fdb5d9b63fb421aaf274e9e6915de886514ad38
Author: Jason Wendt <jason.wendt(a)gmail.com>
AuthorDate: Thu Dec 14 12:48:48 2017 -0700
[SWENUM] Add version information. CORE-14112
Improves setup of DirectX 9.0b 4.09.00.0902 (which the game Halo wants
to install) after manually lowering DirectX version in registry.
---
drivers/ksfilter/swenum/CMakeLists.txt | 2 +-
drivers/ksfilter/swenum/swenum.rc | 5 +++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/ksfilter/swenum/CMakeLists.txt
b/drivers/ksfilter/swenum/CMakeLists.txt
index cf8b33a096..c5f22cf902 100644
--- a/drivers/ksfilter/swenum/CMakeLists.txt
+++ b/drivers/ksfilter/swenum/CMakeLists.txt
@@ -1,5 +1,5 @@
-add_library(swenum SHARED swenum.c)
+add_library(swenum SHARED swenum.c swenum.rc)
set_module_type(swenum kernelmodedriver)
add_importlibs(swenum ks ntoskrnl hal)
add_cd_file(TARGET swenum DESTINATION reactos/system32/drivers NO_CAB FOR all)
diff --git a/drivers/ksfilter/swenum/swenum.rc b/drivers/ksfilter/swenum/swenum.rc
new file mode 100644
index 0000000000..2555e0d246
--- /dev/null
+++ b/drivers/ksfilter/swenum/swenum.rc
@@ -0,0 +1,5 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "Plug and Play Software Device
Enumerator"
+#define REACTOS_STR_INTERNAL_NAME "swenum"
+#define REACTOS_STR_ORIGINAL_FILENAME "swenum.sys"
+#include <reactos/version.rc>