From 2ffc6846996748c7d81bd569ba44ffd8bf858bc4 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 10 Feb 2018 15:31:55 +0100 Subject: [PATCH] [ACLAYERS] Add WIN8 and WIN81 VersionLie shims --- dll/appcompat/shims/layer/versionlie.c | 11 ++++++++++ media/sdb/sysmain.xml | 28 ++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dll/appcompat/shims/layer/versionlie.c b/dll/appcompat/shims/layer/versionlie.c index 704a8b8da18..38db1d0a197 100644 --- a/dll/appcompat/shims/layer/versionlie.c +++ b/dll/appcompat/shims/layer/versionlie.c @@ -48,6 +48,8 @@ VersionLieInfo g_WinVistaSP2 = { 0x17720006, 6, 0, 6002, VER_PLATFORM_WIN32_NT, VersionLieInfo g_Win7RTM = { 0x1db00106, 6, 1, 7600, VER_PLATFORM_WIN32_NT, 0, 0 }; +VersionLieInfo g_Win8RTM = { 0x23f00206, 6, 2, 9200, VER_PLATFORM_WIN32_NT, 0, 0 }; +VersionLieInfo g_Win81RTM = { 0x25800306, 6, 3, 9600, VER_PLATFORM_WIN32_NT, 0, 0 }; /* Fill the OSVERSIONINFO[EX][W|A] struct with the info from the generic VersionLieInfo */ @@ -229,3 +231,12 @@ BOOL WINAPI SHIM_OBJ_NAME(APIHook_GetVersionExW)(LPOSVERSIONINFOEXA lpOsVersionI #include "versionlie.inl" +#define SHIM_NS Win8RTMVersionLie +#define VERSION_INFO g_Win8RTM +#include "versionlie.inl" + +#define SHIM_NS Win81RTMVersionLie +#define VERSION_INFO g_Win81RTM +#include "versionlie.inl" + + diff --git a/media/sdb/sysmain.xml b/media/sdb/sysmain.xml index 07a32edce68..a27542e38e0 100644 --- a/media/sdb/sysmain.xml +++ b/media/sdb/sysmain.xml @@ -173,6 +173,24 @@ aclayers.dll + + + + + + + + aclayers.dll + + + + + + + + + aclayers.dll + @@ -291,6 +309,16 @@ + + + + + + + + + +