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, 41get => !_messageHookHandle.IsNull; 59if (!_messageHookHandle.IsNull) 72if (_messageHookHandle != IntPtr.Zero) 77Debug.Assert(_messageHookHandle != IntPtr.Zero, "Failed to install mouse hook"); 98return PInvoke.CallNextHookEx(_messageHookHandle, nCode, wparam, lparam); 105if (!_messageHookHandle.IsNull) 107PInvoke.UnhookWindowsHookEx(_messageHookHandle);