From 71d5b09683e6f97b36aa9fe4ae8c32345205770b Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Fri, 16 Dec 2016 22:13:01 +0000 Subject: [PATCH] [SDK] Add Resolution/Bitdepth shims + layers to the appcompat database. CORE-11927 #resolve svn path=/trunk/; revision=73464 --- reactos/media/sdb/readme.txt | 20 +++++++++++++++ reactos/media/sdb/sysmain.xml | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 reactos/media/sdb/readme.txt diff --git a/reactos/media/sdb/readme.txt b/reactos/media/sdb/readme.txt new file mode 100644 index 0000000000000..41566062a453e --- /dev/null +++ b/reactos/media/sdb/readme.txt @@ -0,0 +1,20 @@ + +Sdb + +Sdb files are Shim Databases. +They contain information about bad applications, and about the fixes that can be applied to them. + + +Shims + +A shim is a piece of code that influences the process it's applied to. +This can be done by calling certain api's, or by changing the behavior of api's. +'DisableThemes' is an example of a shim that changes behavior by calling 'SetThemeAppProperties'. +'Win95VersionLie' is an example of a shim that changes behavior, by intercepting calls to GetVersion[Ex]. + +Layers + +A layer is a collection (1..n) of shims. +Layers are used to reference a collection of shims by name. + + diff --git a/reactos/media/sdb/sysmain.xml b/reactos/media/sdb/sysmain.xml index 3596c89959d41..f653f7f335127 100644 --- a/reactos/media/sdb/sysmain.xml +++ b/reactos/media/sdb/sysmain.xml @@ -4,6 +4,9 @@ 1 {11111111-1111-1111-1111-111111111111} + + + Win95VersionLie aclayers.dll @@ -76,7 +79,29 @@ Win7RTMVersionLie aclayers.dll + + + + + Force640x480 + aclayers.dll + + + Force8BitColor + aclayers.dll + + + + + + DisableThemes + acgenral.dll + + + + + WIN95 @@ -182,5 +207,26 @@ + + + + + 256Color + + + + + 640X480 + + + + + + + + DisableThemes + + + \ No newline at end of file