diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index 62acf8ae63d..8c23da26f6a 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -13054,6 +13054,7 @@ static LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam { KBDLLHOOKSTRUCT *kdbhookstruct = (KBDLLHOOKSTRUCT*)lParam; + msg.hwnd = 0; msg.message = wParam; msg.flags = kbd_hook|wparam|lparam; msg.wParam = kdbhookstruct->vkCode;