Topic closed at author's request - MSFN staff
Aero Glass for Win8 RC4
maybe somebody will be interested in my small project. Therefore, I am sharing the first information about it. I have managed to reimplement Aero Glass function into Windows 8 Desktop Window Manager.
How does it work?
I have developed DLL library in C++ which is injected into dwm.exe process (no system files replacement is required). Then, the functions used for window border drawing are hooked with my own implementation. This ensures that anytime DWM wants to draw the window border, the code is redirected into my library where I change the drawing parameters and redirect back to the original drawing function. Transparent window border wih blur effect is drawn!
Is it completely new implementation?
Just a partially. Since a lot of Aero Glass resources is still present in Win8, I'm trying to reuse them as much as possible. The blur effect is implemented completely in Direct3D with using of native shaders and system settings. With some small exceptions, I just call the same commands as they would be called by Windows itself (e.g. in Win7 or Win8 RP).
The problem lies in loading library into memory, because - for correct function - it has to be loaded together with DWM process but before creation of its internal objects. Currently, the method of DLL injection via AppInit_DLLs registry key is used but it is not supported when UEFI secure boot is enabled.
--> registry script to install this utility is attached in the archive but you must manually edit the file to point to the location where you extract DLL file
--> the glass will automatically load at Windows startup
--> if your computer won't boot up for some reason (glass failure), hold CTRL key during DWM loading and no procedure will be installed into memory
--> if you use custom theme which has hardcoded fully opaque borders, the effect won't be visible
--> if there is any bug and DWM crashes, it will generate minidump file in the folder where you extracted DLL to and you should upload this minidump file to allow the bug to be fixed
--> this utility is for Windows 8 only! Testing version for Windows 8.1 will be available to closed private group only
--> THIS IS THE TEST VERSION, THUS IT LIMITS ITS REGULAR USAGE BY DISPLAYING WARNING MESSAGE PERIODICALLY. DO NOT ASK HOW TO REMOVE THIS MESSAGE !!!
--> THIS IS THE TESTING VERSION INTENDED FOR ADVANCED USERS ONLY, IF YOU ARE NOT ABLE TO UNDERSTAND THE INSTALLATION INSTRUCTIONS THEN YOU SHOULD NOT USE THIS SOFTWARE !!!
You use this software on your own risk and you agree that you will not use it against its purpose (testing and preview). You are not allowed to disassemble or crack this software by any method (binary modification, DLL injection, function hooking etc.) else you are violating the copyright, because you are trying to bypass software protection.
I hope you will like it :-)