|
|
|
@ -11506,51 +11506,20 @@ DWORD Inject(BOOL bIsExplorer) |
|
|
|
ResetEvent(hEvent); |
|
|
|
ResetEvent(hEvent); |
|
|
|
}*/ |
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
if (bOldTaskbar) |
|
|
|
if (IsWindows11()) { |
|
|
|
{ |
|
|
|
if (bOldTaskbar) { |
|
|
|
if (IsWindows11()) |
|
|
|
CreateThread(0, 0, PlayStartupSound, 0, 0, 0); |
|
|
|
{ |
|
|
|
|
|
|
|
CreateThread( |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
PlayStartupSound, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
printf("Play startup sound thread...\n"); |
|
|
|
printf("Play startup sound thread...\n"); |
|
|
|
} |
|
|
|
CreateThread(0, 0, SignalShellReady, dwExplorerReadyDelay, 0, 0); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (bOldTaskbar) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (IsWindows11()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CreateThread( |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
SignalShellReady, |
|
|
|
|
|
|
|
dwExplorerReadyDelay, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
printf("Signal shell ready...\n"); |
|
|
|
printf("Signal shell ready...\n"); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
CreateThread(0, 0, FixTaskbarAutohide, 0, 0, 0); |
|
|
|
|
|
|
|
if (!IsWindows11Version22H2Build2361OrHigher()) { |
|
|
|
|
|
|
|
RegDeleteKeyValueW(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"TaskbarGlomLevel"); |
|
|
|
|
|
|
|
RegDeleteKeyValueW(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"MMTaskbarGlomLevel"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
CreateThread( |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
FixTaskbarAutohide, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0, |
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
RegDeleteKeyValueW(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"TaskbarGlomLevel"); |
|
|
|
|
|
|
|
RegDeleteKeyValueW(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced", L"MMTaskbarGlomLevel"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (IsWindows11Version22H2OrHigher() && bOldTaskbar) |
|
|
|
if (IsWindows11Version22H2OrHigher() && bOldTaskbar) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|