1 write to _hHooks
UIAutomationClient (1)
MS\Internal\Automation\WinEventWrap.cs (1)
38_hHooks = new IntPtr[_eventIds.Length];
6 references to _hHooks
UIAutomationClient (6)
MS\Internal\Automation\WinEventWrap.cs (6)
115_hHooks[i] = UnsafeNativeMethods.SetWinEventHook(eventId, eventId, IntPtr.Zero, _winEventProc, 0, 0, _fFlags); 116if (_hHooks[i] == IntPtr.Zero) 133for (int i=0;i<_hHooks.Length;i++) 135if (_hHooks[i] != IntPtr.Zero) 141UnsafeNativeMethods.UnhookWinEvent(_hHooks[i]); 142_hHooks[i] = IntPtr.Zero;