13 references to CriticalHandle
PresentationCore (13)
Core\CSharp\System\Windows\Input\InputElement.cs (2)
317if(sourceFrom != null && sourceFrom.CriticalHandle != IntPtr.Zero && sourceFrom.CompositionTarget != null && 318sourceTo != null && sourceTo.CriticalHandle != IntPtr.Zero && sourceTo.CompositionTarget != null)
Core\CSharp\System\Windows\Interop\HwndKeyboardInputProvider.cs (1)
559if (focus == thisSource.CriticalHandle)
Core\CSharp\System\Windows\Interop\HwndPanningFeedback.cs (1)
64IntPtr handle = _hwndSource.CriticalHandle;
Core\CSharp\System\Windows\Interop\HwndSource.cs (7)
792if (test != null && test.CriticalHandle == hwnd) 1005IntPtr hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(this, CriticalHandle), NativeMethods.GA_ROOT); 1094return CriticalHandle; 1135return ( capture == CriticalHandle ); 1783hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(this, CriticalHandle), NativeMethods.GA_ROOT); 1787hwndRoot = CriticalHandle; 3049return UnsafeNativeMethods.GetFocus() == CriticalHandle;
Shared\MS\Internal\PointUtil.cs (2)
190HandleRef handleRef = new HandleRef(inputSource, inputSource.CriticalHandle); 218HandleRef handleRef = new HandleRef(inputSource, inputSource.CriticalHandle);