11 references to ContextSafeHandle
PresentationCore (11)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (3)
446private int SetEnabledGestures(MS.Win32.Recognizer.ContextSafeHandle recContext, ApplicationGesture[] enabledGestures) 500private int AddStrokes(MS.Win32.Recognizer.ContextSafeHandle recContext, StrokeCollection strokes) 937private MS.Win32.Recognizer.ContextSafeHandle _hContext;
Core\CSharp\MS\Win32\UnsafeNativeMethodsTablet.cs (8)
43internal static extern int CreateContext([In] RecognizerSafeHandle hRec, [Out] out ContextSafeHandle hRecContext); 57internal 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); 64internal static extern int SetEnabledUnicodeRanges([In] ContextSafeHandle hRecContext, [In] uint cRangs, [In] CHARACTER_RANGE[] charRanges); 71internal static extern int EndInkInput([In] ContextSafeHandle hRecContext); 78internal static extern int Process([In] ContextSafeHandle hRecContext, [Out] out bool partialProcessing); 85internal 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); 113internal static extern int ResetContext([In] ContextSafeHandle hRecContext); 120internal static extern int GetLatticePtr([In] ContextSafeHandle hRecContext, [In] ref IntPtr pRecoLattice);