1 write to _hHooks
UIAutomationClient (1)
MS\Internal\Automation\WinEventWrap.cs (1)
47
_hHooks
= new IntPtr[_eventIds.Length];
6 references to _hHooks
UIAutomationClient (6)
MS\Internal\Automation\WinEventWrap.cs (6)
130
_hHooks
[i] = UnsafeNativeMethods.SetWinEventHook(eventId, eventId, IntPtr.Zero, _winEventProc, 0, 0, _fFlags);
131
if (
_hHooks
[i] == IntPtr.Zero)
148
for (int i=0;i<
_hHooks
.Length;i++)
150
if (
_hHooks
[i] != IntPtr.Zero)
156
UnsafeNativeMethods.UnhookWinEvent(
_hHooks
[i]);
157
_hHooks
[i] = IntPtr.Zero;