mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-20 20:41:26 +01:00
Taskbar10: Fixed inactive (for now) case
This commit is contained in:
parent
28fc1e58c2
commit
efd52cf951
@ -478,8 +478,8 @@ BOOL TaskbarCenter_SHWindowsPolicy(REFIID riid)
|
||||
}
|
||||
else if (*((unsigned char*)_ReturnAddress() + 8) == 0x84 && VirtualProtect((unsigned char*)_ReturnAddress() + 13, 2, PAGE_EXECUTE_READWRITE, &flOldProtect))
|
||||
{
|
||||
*((unsigned char*)_ReturnAddress() + 13) += 0x90;
|
||||
*((unsigned char*)_ReturnAddress() + 13) += 0x90;
|
||||
*((unsigned char*)_ReturnAddress() + 13) = 0x90;
|
||||
*((unsigned char*)_ReturnAddress() + 14) = 0x90;
|
||||
VirtualProtect((unsigned char*)_ReturnAddress() + 13, 2, flOldProtect, &flOldProtect);
|
||||
}
|
||||
bTaskbarCenterHasPatchedSHWindowsPolicy = TRUE;
|
||||
@ -487,4 +487,4 @@ BOOL TaskbarCenter_SHWindowsPolicy(REFIID riid)
|
||||
return 1;
|
||||
}
|
||||
return SHWindowsPolicy(riid);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user