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