From 53f49fa8cd914c376dc0099729030458cc2532f6 Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 25 Feb 2022 01:17:03 +0200 Subject: [PATCH] Symbols: Built-in support for `StartUI` in 22000.527 --- ExplorerPatcher/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/symbols.c b/ExplorerPatcher/symbols.c index a212dd6..342013a 100644 --- a/ExplorerPatcher/symbols.c +++ b/ExplorerPatcher/symbols.c @@ -909,7 +909,7 @@ BOOL LoadSymbols(symbols_addr* symbols_PTRS, HMODULE hModule) GetWindowsDirectoryW(wszPath, MAX_PATH); wcscat_s(wszPath, MAX_PATH, L"\\SystemApps\\Microsoft.Windows.StartMenuExperienceHost_cw5n1h2txyewy\\" TEXT(STARTUI_SB_NAME) L".dll"); ComputeFileHash(wszPath, hash, 100); - if (!_stricmp(hash, "2768cc6cc7f686b2aa084cb5c8cce65d")) // 493 + if (!_stricmp(hash, "2768cc6cc7f686b2aa084cb5c8cce65d") || !_stricmp(hash, "a7c82cb9a9fd6f87897fc8a737d6b4d7")) // 493, 527 { symbols_PTRS->startui_PTRS[0] = 0x37180; bIsStartHardcoded = TRUE;