11 references to ContextSafeHandle
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
345
private int SetEnabledGestures(MS.Win32.Recognizer.
ContextSafeHandle
recContext, ApplicationGesture[] enabledGestures)
392
private int AddStrokes(MS.Win32.Recognizer.
ContextSafeHandle
recContext, StrokeCollection strokes)
798
private MS.Win32.Recognizer.
ContextSafeHandle
_hContext;
MS\Win32\UnsafeNativeMethodsTablet.cs (8)
24
internal static extern int CreateContext([In] RecognizerSafeHandle hRec, [Out] out
ContextSafeHandle
hRecContext);
30
internal static extern int AddStroke([In]
ContextSafeHandle
hRecContext, [In] ref PACKET_DESCRIPTION packetDesc, [In] uint cbPackets, [In] IntPtr pByte, [In, MarshalAs(UnmanagedType.LPStruct)] NativeMethods.XFORM xForm);
33
internal static extern int SetEnabledUnicodeRanges([In]
ContextSafeHandle
hRecContext, [In] uint cRangs, [In] CHARACTER_RANGE[] charRanges);
36
internal static extern int EndInkInput([In]
ContextSafeHandle
hRecContext);
39
internal static extern int Process([In]
ContextSafeHandle
hRecContext, [Out] out bool partialProcessing);
42
internal static extern int GetAlternateList([In]
ContextSafeHandle
hRecContext, [In, Out] ref RECO_RANGE recoRange, [In, Out] ref uint cAlts, [In, Out] IntPtr[] recAtls, [In] ALT_BREAKS breaks);
54
internal static extern int ResetContext([In]
ContextSafeHandle
hRecContext);
57
internal static extern int GetLatticePtr([In]
ContextSafeHandle
hRecContext, [In] ref IntPtr pRecoLattice);