14 references to UnsafeNativeMethods
PresentationCore (14)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (12)
47int hr = MS.Win32.Recognizer.UnsafeNativeMethods.CreateContext(NativeRecognizer.RecognizerHandleSingleton, 142hr = MS.Win32.Recognizer.UnsafeNativeMethods.ResetContext(_hContext); 159hr = MS.Win32.Recognizer.UnsafeNativeMethods.Process(_hContext, out bIncremental); 384int hr = MS.Win32.Recognizer.UnsafeNativeMethods.SetEnabledUnicodeRanges(recContext, cRanges, charRanges); 413hr = MS.Win32.Recognizer.UnsafeNativeMethods.AddStroke(recContext, ref packetDescription, (uint)countOfBytes, packets, xForm); 427return MS.Win32.Recognizer.UnsafeNativeMethods.EndInkInput(recContext); 598hr = MS.Win32.Recognizer.UnsafeNativeMethods.GetAlternateList(_hContext, ref recoRange, ref countOfAlternates, pRecoAlternates, MS.Win32.Recognizer.ALT_BREAKS.ALT_BREAKS_SAME); 610if ( HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetString(pRecoAlternates[i], out recoRange, ref size, recoString)) 611|| HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetConfidenceLevel(pRecoAlternates[i], out recoRange, out confidenceLevel)) ) 635MS.Win32.Recognizer.UnsafeNativeMethods.DestroyAlternate(pRecoAlternates[i]); 659MS.Win32.Recognizer.UnsafeNativeMethods.GetLatticePtr( 752if (HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
MS\Win32\UnsafeNativeMethodsTablet.cs (2)
92return (MS.Internal.HRESULT.Succeeded(MS.Win32.Recognizer.UnsafeNativeMethods.DestroyRecognizer(handle))); 132int hr = MS.Win32.Recognizer.UnsafeNativeMethods.DestroyContext(handle);