[ACLAYERS] Add WIN8 and WIN81 VersionLie shims
authorMark Jansen <mark.jansen@reactos.org>
Sat, 10 Feb 2018 14:31:55 +0000 (15:31 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sat, 24 Feb 2018 18:33:56 +0000 (19:33 +0100)
dll/appcompat/shims/layer/versionlie.c
media/sdb/sysmain.xml

index 704a8b8..38db1d0 100644 (file)
@@ -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"
+
+
index 07a32ed..a27542e 100644 (file)
                 <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 -->
 
             <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 -->