2 writes to messageHookHandle
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripManager.cs (2)
1412
messageHookHandle
= UnsafeNativeMethods.SetWindowsHookEx(NativeMethods.WH_GETMESSAGE,
1448
messageHookHandle
= IntPtr.Zero;
7 references to messageHookHandle
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ToolStripManager.cs (7)
1392
return
messageHookHandle
!= IntPtr.Zero;
1406
if (
messageHookHandle
!= IntPtr.Zero) {
1417
if (
messageHookHandle
!= IntPtr.Zero) {
1420
Debug.Assert(
messageHookHandle
!= IntPtr.Zero, "Failed to install mouse hook");
1440
return UnsafeNativeMethods.CallNextHookEx(new HandleRef(this,
messageHookHandle
), nCode, wparam, lparam);
1445
if (
messageHookHandle
!= IntPtr.Zero) {
1446
UnsafeNativeMethods.UnhookWindowsHookEx(new HandleRef(this,
messageHookHandle
));