Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ge0rdi
Copy link
Member

@ge0rdi ge0rdi commented Jan 19, 2025

No description provided.

@AppVeyorBot
Copy link

@@ -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");

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
@AppVeyorBot
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants