ole32: Avoid uninitialized value to be potentialy passed to UnhookWindowsHookEx.
This commit is contained in:
parent
d819f13911
commit
16bd9d53b9
|
@ -1197,6 +1197,7 @@ static BOOL OLEMenu_InstallHooks( DWORD tid )
|
||||||
|
|
||||||
pHookItem->tid = tid;
|
pHookItem->tid = tid;
|
||||||
pHookItem->hHeap = GetProcessHeap();
|
pHookItem->hHeap = GetProcessHeap();
|
||||||
|
pHookItem->CallWndProc_hHook = NULL;
|
||||||
|
|
||||||
/* Install a thread scope message hook for WH_GETMESSAGE */
|
/* Install a thread scope message hook for WH_GETMESSAGE */
|
||||||
pHookItem->GetMsg_hHook = SetWindowsHookExW( WH_GETMESSAGE, OLEMenu_GetMsgProc,
|
pHookItem->GetMsg_hHook = SetWindowsHookExW( WH_GETMESSAGE, OLEMenu_GetMsgProc,
|
||||||
|
|
Loading…
Reference in New Issue