Skip to content

Conversation

ge0rdi
Copy link
Member

@ge0rdi ge0rdi commented Jan 19, 2025

No description provided.

auto module=GetModuleHandle(L"taskbar.dll");
if (!module)
{
module = GetModuleHandle(L"ep_taskbar.5.dll");

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.

https://github.com/valinet/ExplorerPatcher/wiki/ExplorerPatcher's-taskbar-implementation#supported-windows-versions

Copy link
Member Author

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.

@ge0rdi ge0rdi force-pushed the explorer-patcher-compatibility branch from ea9851f to 39dc75a Compare January 26, 2025 07:12
@ge0rdi ge0rdi force-pushed the explorer-patcher-compatibility branch from 39dc75a to 146c27e Compare March 13, 2025 06:12
@ge0rdi ge0rdi merged commit 146c27e into master Apr 4, 2025
1 check passed
@ge0rdi ge0rdi deleted the explorer-patcher-compatibility branch April 4, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants