From 2f1be803f0bf1e2bac2b8859105837c014f453bd Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Wed, 10 Nov 2021 21:46:13 +0200 Subject: [PATCH] Increased number of Start menu injection retries --- ExplorerPatcher/StartMenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/StartMenu.c b/ExplorerPatcher/StartMenu.c index 9a530d0..76aa2d9 100644 --- a/ExplorerPatcher/StartMenu.c +++ b/ExplorerPatcher/StartMenu.c @@ -288,7 +288,7 @@ DWORD WINAPI HookStartMenu(HookStartMenuParams* params) else { retry++; - if (retry > 5) return 0; + if (retry > 20) return 0; Sleep(params->dwTimeout); } }