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