Permalink
Browse files

[ACLAYERS] Add WIN8 and WIN81 VersionLie shims

  • Loading branch information...
learn-more committed Feb 10, 2018
1 parent 8e1f342 commit 2ffc6846996748c7d81bd569ba44ffd8bf858bc4
Showing with 39 additions and 0 deletions.
  1. +11 −0 dll/appcompat/shims/layer/versionlie.c
  2. +28 −0 media/sdb/sysmain.xml
@@ -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"
View
@@ -173,6 +173,24 @@
<EXCLUDE MODULE="oleaut32.dll" />
<DLLFILE>aclayers.dll</DLLFILE>
</SHIM>
<SHIM NAME="Win8RTMVersionLie">
<INCLUDE MODULE="shell32.dll" />
<INCLUDE MODULE="msi.dll" />
<EXCLUDE MODULE="kernel32.dll" />
<EXCLUDE MODULE="msvcrt.dll" />
<EXCLUDE MODULE="ole32.dll" />
<EXCLUDE MODULE="oleaut32.dll" />
<DLLFILE>aclayers.dll</DLLFILE>
</SHIM>
<SHIM NAME="Win81RTMVersionLie">
<INCLUDE MODULE="shell32.dll" />
<INCLUDE MODULE="msi.dll" />
<EXCLUDE MODULE="kernel32.dll" />
<EXCLUDE MODULE="msvcrt.dll" />
<EXCLUDE MODULE="ole32.dll" />
<EXCLUDE MODULE="oleaut32.dll" />
<DLLFILE>aclayers.dll</DLLFILE>
</SHIM>
<!-- Display mode shims -->
@@ -291,6 +309,16 @@
<SHIM_REF NAME="Win7RTMVersionLie" />
<!-- TODO: Add more fixes! -->
</LAYER>
<LAYER NAME="WIN8RTM">
<SHIM_REF NAME="Win8RTMVersionLie" />
<!-- TODO: Add more fixes! -->
</LAYER>
<LAYER NAME="WIN81RTM">
<SHIM_REF NAME="Win81RTMVersionLie" />
<!-- TODO: Add more fixes! -->
</LAYER>
<!-- Display mode layers -->

0 comments on commit 2ffc684

Please sign in to comment.