14 references to UnsafeNativeMethods
PresentationCore (14)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (12)
68int hr = MS.Win32.Recognizer.UnsafeNativeMethods.CreateContext(NativeRecognizer.RecognizerHandleSingleton, 163hr = MS.Win32.Recognizer.UnsafeNativeMethods.ResetContext(_hContext); 180hr = MS.Win32.Recognizer.UnsafeNativeMethods.Process(_hContext, out bIncremental); 405int hr = MS.Win32.Recognizer.UnsafeNativeMethods.SetEnabledUnicodeRanges(recContext, cRanges, charRanges); 434hr = MS.Win32.Recognizer.UnsafeNativeMethods.AddStroke(recContext, ref packetDescription, (uint)countOfBytes, packets, xForm); 448return MS.Win32.Recognizer.UnsafeNativeMethods.EndInkInput(recContext); 617hr = MS.Win32.Recognizer.UnsafeNativeMethods.GetAlternateList(_hContext, ref recoRange, ref countOfAlternates, pRecoAlternates, MS.Win32.Recognizer.ALT_BREAKS.ALT_BREAKS_SAME); 629if ( HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetString(pRecoAlternates[i], out recoRange, ref size, recoString)) 630|| HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetConfidenceLevel(pRecoAlternates[i], out recoRange, out confidenceLevel)) ) 655MS.Win32.Recognizer.UnsafeNativeMethods.DestroyAlternate(pRecoAlternates[i]); 679MS.Win32.Recognizer.UnsafeNativeMethods.GetLatticePtr( 772if (HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
MS\Win32\UnsafeNativeMethodsTablet.cs (2)
97return (MS.Internal.HRESULT.Succeeded(MS.Win32.Recognizer.UnsafeNativeMethods.DestroyRecognizer(handle))); 137int hr = MS.Win32.Recognizer.UnsafeNativeMethods.DestroyContext(handle);