-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExplorerPatcher compatibility #2107
base: master
Are you sure you want to change the base?
Conversation
@@ -2956,6 +2969,12 @@ static void InitStartMenuDLL( void ) | |||
if (GetSettingBool(L"CustomTaskbar")) | |||
{ | |||
auto module=GetModuleHandle(L"taskbar.dll"); | |||
if (!module) | |||
{ | |||
module = GetModuleHandle(L"ep_taskbar.5.dll"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps I should come a up with a way so that any program can read which ep_taskbar is active... hardcoding the module name is not a good idea.
There are currently 6 variants of the taskbar, of which variants 0 (10 VB), 2 (11 NI), and 5 (11 GE) are under active use. Hardcoding this to 5 would make it only target the taskbar if it's running under 11 GE/24H2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
I have added check also for version 2
as it seems 2
an 5
are the only officially supported by ExporerPatcher
.
I guess that should be enough.
I have also added some more safety checks to ExtTextOutW
hook.
ea9851f
to
39dc75a
Compare
No description provided.