From 7d14daf1d5fce4d09471a3abe2aca49cf7680816 Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Wed, 2 Dec 2020 05:25:19 -0500 Subject: embed version info into assemblies check app versions against lib, lib against driver add an 'about' dialog which displays version details, accessible from menu refactor error handling + add check for negative offset --- common/rawaccel-version.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 common/rawaccel-version.h (limited to 'common/rawaccel-version.h') diff --git a/common/rawaccel-version.h b/common/rawaccel-version.h new file mode 100644 index 0000000..c9828a0 --- /dev/null +++ b/common/rawaccel-version.h @@ -0,0 +1,26 @@ +#pragma once + +#define RA_VER_MAJOR 1 +#define RA_VER_MINOR 3 +#define RA_VER_PATCH 0 + +#define RA_MIN_OS "Win10" + +#define M_STR_HELPER(x) #x +#define M_STR(x) M_STR_HELPER(x) + +#define RA_VER_STRING M_STR(RA_VER_MAJOR) "." M_STR(RA_VER_MINOR) "." M_STR(RA_VER_PATCH) + +namespace rawaccel { + + struct version_t { + int major; + int minor; + int patch; + }; + +#ifndef _KERNEL_MODE + inline constexpr version_t min_driver_version = { 1, 3, 0 }; +#endif + +} -- cgit v1.2.3 From 0aca62b28d1b071031460269ccfd7ffdb7b3e6fd Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Wed, 2 Dec 2020 05:47:12 -0500 Subject: support win7 while cross-signing is still available to be dropped by april 2021 --- common/rawaccel-version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/rawaccel-version.h') diff --git a/common/rawaccel-version.h b/common/rawaccel-version.h index c9828a0..9470ca0 100644 --- a/common/rawaccel-version.h +++ b/common/rawaccel-version.h @@ -4,7 +4,7 @@ #define RA_VER_MINOR 3 #define RA_VER_PATCH 0 -#define RA_MIN_OS "Win10" +#define RA_MIN_OS "Win7" #define M_STR_HELPER(x) #x #define M_STR(x) M_STR_HELPER(x) -- cgit v1.2.3