2 writes to _messageHookHandle
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (2)
66
_messageHookHandle
= PInvoke.SetWindowsHookEx(
108
_messageHookHandle
= default;
8 references to _messageHookHandle
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (8)
33
_messageHookHandle
== IntPtr.Zero,
41
get => !
_messageHookHandle
.IsNull;
59
if (!
_messageHookHandle
.IsNull)
72
if (
_messageHookHandle
!= IntPtr.Zero)
77
Debug.Assert(
_messageHookHandle
!= IntPtr.Zero, "Failed to install mouse hook");
98
return PInvoke.CallNextHookEx(
_messageHookHandle
, nCode, wparam, lparam);
105
if (!
_messageHookHandle
.IsNull)
107
PInvoke.UnhookWindowsHookEx(
_messageHookHandle
);