11 references to ContextSafeHandle
PresentationCore (11)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
366private int SetEnabledGestures(MS.Win32.Recognizer.ContextSafeHandle recContext, ApplicationGesture[] enabledGestures) 413private int AddStrokes(MS.Win32.Recognizer.ContextSafeHandle recContext, StrokeCollection strokes) 818private MS.Win32.Recognizer.ContextSafeHandle _hContext;
MS\Win32\UnsafeNativeMethodsTablet.cs (8)
29internal static extern int CreateContext([In] RecognizerSafeHandle hRec, [Out] out ContextSafeHandle hRecContext); 35internal 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); 38internal static extern int SetEnabledUnicodeRanges([In] ContextSafeHandle hRecContext, [In] uint cRangs, [In] CHARACTER_RANGE[] charRanges); 41internal static extern int EndInkInput([In] ContextSafeHandle hRecContext); 44internal static extern int Process([In] ContextSafeHandle hRecContext, [Out] out bool partialProcessing); 47internal 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); 59internal static extern int ResetContext([In] ContextSafeHandle hRecContext); 62internal static extern int GetLatticePtr([In] ContextSafeHandle hRecContext, [In] ref IntPtr pRecoLattice);