mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2024-11-30 18:24:36 +01:00
Taskbar11: Updated the IME context menu patch to work with 26058
This commit is contained in:
parent
91aaa82767
commit
a0885c6494
@ -600,13 +600,13 @@ inline BOOL WINAPI PatchContextMenuOfNewMicrosoftIME(BOOL* bFound)
|
|||||||
MODULEINFO mi;
|
MODULEINFO mi;
|
||||||
GetModuleInformation(GetCurrentProcess(), hInputSwitch, &mi, sizeof(mi));
|
GetModuleInformation(GetCurrentProcess(), hInputSwitch, &mi, sizeof(mi));
|
||||||
|
|
||||||
// 44 38 ?? ?? 74 ?? 48 8B CE E8 ?? ?? ?? ?? 85 C0
|
// 44 38 ?? ?? 74 ?? ?? 8B CE E8 ?? ?? ?? ?? 85 C0
|
||||||
// ^^ Change jz into jmp
|
// ^^ Change jz into jmp
|
||||||
PBYTE match = (PBYTE)FindPattern(
|
PBYTE match = (PBYTE)FindPattern(
|
||||||
hInputSwitch,
|
hInputSwitch,
|
||||||
mi.SizeOfImage,
|
mi.SizeOfImage,
|
||||||
"\x44\x38\x00\x00\x74\x00\x48\x8B\xCE\xE8\x00\x00\x00\x00\x85\xC0",
|
"\x44\x38\x00\x00\x74\x00\x00\x8B\xCE\xE8\x00\x00\x00\x00\x85\xC0",
|
||||||
"xx??x?xxxx????xx"
|
"xx??x??xxx????xx"
|
||||||
);
|
);
|
||||||
if (!match)
|
if (!match)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user