From 9a60743720756d07af281757c4077a2ccb887964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aubrey/=E3=82=AA=E3=83=BC=E3=83=96=E3=83=AA=E3=83=BC?= <44238627+aubymori@users.noreply.github.com> Date: Mon, 18 Dec 2023 15:44:55 -0600 Subject: [PATCH] Aero Tray 1.0.1: Fix injection stuff (#435) * Clarify injection stuff --- mods/aero-tray.wh.cpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/mods/aero-tray.wh.cpp b/mods/aero-tray.wh.cpp index 855534f72..4b6c2b75f 100644 --- a/mods/aero-tray.wh.cpp +++ b/mods/aero-tray.wh.cpp @@ -2,7 +2,7 @@ // @id aero-tray // @name Aero Tray // @description Restores Windows 7/8 tray overflow -// @version 1.0.0 +// @version 1.0.1 // @author aubymori // @github https://github.com/aubymori // @include explorer.exe @@ -16,6 +16,11 @@ This mod restores the tray overflow from Windows 7 and 8, including the "Customize..." link, drawing tray icons with the system theme, and the general appearance. +# IMPORTANT: READ! +Windhawk needs to hook into `winlogon.exe` to successfully capture Explorer starting. Please +navigate to Windhawk's Settings, Advanced settings, More advanced settings, and make sure that +`winlogon.exe` is in the Process inclusion list. + ## Notice It is highly recommended you restart Explorer after making changes to the settings. @@ -59,7 +64,6 @@ It is highly recommended you restart Explorer after making changes to the settin #include #include #include -#include const UINT LINK_AREA_HEIGHT = 43; const UINT LINK_AREA_PADDING = 16; @@ -948,10 +952,10 @@ BOOL Wh_ModInit(void) { LoadSettings(); - WCHAR szPath[MAX_PATH]; - ExpandEnvironmentStringsW(SIB_PATH, szPath, MAX_PATH); + WCHAR szSIBPath[MAX_PATH]; + ExpandEnvironmentStringsW(SIB_PATH, szSIBPath, MAX_PATH); - HMODULE hSib = LoadLibraryW(szPath); + HMODULE hSib = LoadLibraryW(szSIBPath); if (hSib) { PatchStartIsBack(hSib);