user32: Initialize all of msg (Coverity).
This commit is contained in:
parent
2bcd439818
commit
891fcb20ac
|
@ -13054,6 +13054,7 @@ static LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam
|
||||||
{
|
{
|
||||||
KBDLLHOOKSTRUCT *kdbhookstruct = (KBDLLHOOKSTRUCT*)lParam;
|
KBDLLHOOKSTRUCT *kdbhookstruct = (KBDLLHOOKSTRUCT*)lParam;
|
||||||
|
|
||||||
|
msg.hwnd = 0;
|
||||||
msg.message = wParam;
|
msg.message = wParam;
|
||||||
msg.flags = kbd_hook|wparam|lparam;
|
msg.flags = kbd_hook|wparam|lparam;
|
||||||
msg.wParam = kdbhookstruct->vkCode;
|
msg.wParam = kdbhookstruct->vkCode;
|
||||||
|
|
Loading…
Reference in New Issue