3 instantiations of HHOOK
System.Windows.Forms.Primitives (3)
Windows.Win32.HHOOK.g.cs (3)
41
public static explicit operator HHOOK(void* value) => new
HHOOK
(value);
57
public static explicit operator HHOOK(IntPtr value) => new
HHOOK
((void*)value.ToPointer());
59
public static explicit operator HHOOK(UIntPtr value) => new
HHOOK
((void*)value.ToPointer());
24 references to HHOOK
System.Windows.Forms (4)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.MouseHook.cs (1)
18
private
HHOOK
_mouseHookHandle;
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.cs (1)
14
private
HHOOK
_messageHookHandle;
System\Windows\Forms\SendKeys\SendKeys.cs (2)
81
private static
HHOOK
s_hhook;
242
HHOOK
hookHandle = PInvoke.SetWindowsHookEx(
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\BehaviorService.AdornerWindow.MouseHook.cs (1)
29
private
HHOOK
_mouseHookHandle;
System.Windows.Forms.Primitives (19)
Windows.Win32.HHOOK.g.cs (13)
25
: IEquatable<
HHOOK
>
35
internal static
HHOOK
Null => default;
39
public static implicit operator void*(
HHOOK
value) => value.Value;
41
public static explicit operator
HHOOK
(void* value) => new HHOOK(value);
43
public static bool operator ==(
HHOOK
left,
HHOOK
right) => left.Value == right.Value;
45
public static bool operator !=(
HHOOK
left,
HHOOK
right) => !(left == right);
47
public bool Equals(
HHOOK
other) => this.Value == other.Value;
49
public override bool Equals(object obj) => obj is
HHOOK
other && this.Equals(other);
55
public static implicit operator IntPtr(
HHOOK
value) => new IntPtr(value.Value);
57
public static explicit operator
HHOOK
(IntPtr value) => new HHOOK((void*)value.ToPointer());
59
public static explicit operator
HHOOK
(UIntPtr value) => new HHOOK((void*)value.ToPointer());
Windows.Win32.PInvoke.USER32.dll.g.cs (6)
200
internal static winmdroot.Foundation.BOOL UnhookWindowsHookEx(winmdroot.UI.WindowsAndMessaging.
HHOOK
hhk)
208
static extern winmdroot.Foundation.BOOL LocalExternFunction(winmdroot.UI.WindowsAndMessaging.
HHOOK
hhk);
237
internal static extern winmdroot.Foundation.LRESULT CallNextHookEx(winmdroot.UI.WindowsAndMessaging.
HHOOK
hhk, int nCode, winmdroot.Foundation.WPARAM wParam, winmdroot.Foundation.LPARAM lParam);
3578
internal static unsafe winmdroot.UI.WindowsAndMessaging.
HHOOK
SetWindowsHookEx(winmdroot.UI.WindowsAndMessaging.WINDOWS_HOOK_ID idHook, delegate *unmanaged[Stdcall]<int,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfn, winmdroot.Foundation.HINSTANCE hmod, uint dwThreadId)
3581
winmdroot.UI.WindowsAndMessaging.
HHOOK
__retVal = LocalExternFunction(idHook, lpfn, hmod, dwThreadId);
3586
static extern unsafe winmdroot.UI.WindowsAndMessaging.
HHOOK
LocalExternFunction(winmdroot.UI.WindowsAndMessaging.WINDOWS_HOOK_ID idHook, delegate *unmanaged[Stdcall]<int,global::Windows.Win32.Foundation.WPARAM,global::Windows.Win32.Foundation.LPARAM,global::Windows.Win32.Foundation.LRESULT> lpfn, winmdroot.Foundation.HINSTANCE hmod, uint dwThreadId);