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