19 references to CriticalHandle
PresentationCore (19)
MS\Internal\WindowsRuntime\Windows\UI\ViewManagement\InputPane.cs (1)
140
return new InputPane(source?.
CriticalHandle
?? null);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (2)
176
HandleRef handleRef = new HandleRef(inputSource, inputSource.
CriticalHandle
);
199
HandleRef handleRef = new HandleRef(inputSource, inputSource.
CriticalHandle
);
System\Windows\Input\InputElement.cs (2)
279
if(sourceFrom != null && sourceFrom.
CriticalHandle
!= IntPtr.Zero && sourceFrom.CompositionTarget != null &&
280
sourceTo != null && sourceTo.
CriticalHandle
!= IntPtr.Zero && sourceTo.CompositionTarget != null)
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
39
if(hwndSource == null || IntPtr.Zero == (hwndSource).
CriticalHandle
)
System\Windows\Input\Stylus\Wisp\WispLogic.cs (3)
648
IntPtr hwnd = hwndSource != null ? hwndSource.
CriticalHandle
: IntPtr.Zero;
3166
int style = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, hwndSource.
CriticalHandle
), NativeMethods.GWL_STYLE);
3204
if (UnsafeNativeMethods.IsWindow(new HandleRef(hwndSource, hwndSource.
CriticalHandle
)))
System\Windows\InterOp\HwndKeyboardInputProvider.cs (1)
507
if (focus == thisSource.
CriticalHandle
)
System\Windows\InterOp\HwndPanningFeedback.cs (1)
52
IntPtr handle = _hwndSource.
CriticalHandle
;
System\Windows\InterOp\HwndPointerInputProvider.cs (1)
84
int style = MS.Win32.UnsafeNativeMethods.GetWindowLong(new HandleRef(this, source.
CriticalHandle
), MS.Win32.NativeMethods.GWL_STYLE);
System\Windows\InterOp\HwndSource.cs (7)
690
if (test != null && test.
CriticalHandle
== hwnd)
867
IntPtr hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(this,
CriticalHandle
), NativeMethods.GA_ROOT);
935
return
CriticalHandle
;
962
return ( capture ==
CriticalHandle
);
1552
hwndRoot = UnsafeNativeMethods.GetAncestor(new HandleRef(this,
CriticalHandle
), NativeMethods.GA_ROOT);
1556
hwndRoot =
CriticalHandle
;
2685
return UnsafeNativeMethods.GetFocus() ==
CriticalHandle
;