mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-12-18 02:16:00 +01:00
Taskbar10: Instant Network and Battery flyouts on versions that don't need them
This commit is contained in:
parent
e0b97e2be6
commit
97fd4831a8
@ -4098,7 +4098,7 @@ HRESULT stobject_CoCreateInstanceHook(
|
||||
&dwVal,
|
||||
(LPDWORD)(&dwSize)
|
||||
);
|
||||
if (!dwVal)
|
||||
if (!dwVal && IsWindows11() && !IsWindows11Version22H2Build2134OrHigher())
|
||||
{
|
||||
if (hCheckForegroundThread)
|
||||
{
|
||||
@ -4202,7 +4202,7 @@ HRESULT pnidui_CoCreateInstanceHook(
|
||||
}
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
else
|
||||
else if (IsWindows11() && !IsWindows11Version22H2Build1413OrHigher())
|
||||
{
|
||||
if (hCheckForegroundThread)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user