14 references to UnsafeNativeMethods
PresentationCore (14)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (12)
83int hr = MS.Win32.Recognizer.UnsafeNativeMethods.CreateContext(NativeRecognizer.RecognizerHandleSingleton, 210hr = MS.Win32.Recognizer.UnsafeNativeMethods.ResetContext(_hContext); 227hr = MS.Win32.Recognizer.UnsafeNativeMethods.Process(_hContext, out bIncremental); 485int hr = MS.Win32.Recognizer.UnsafeNativeMethods.SetEnabledUnicodeRanges(recContext, cRanges, charRanges); 521hr = MS.Win32.Recognizer.UnsafeNativeMethods.AddStroke(recContext, ref packetDescription, (uint)countOfBytes, packets, xForm); 535return MS.Win32.Recognizer.UnsafeNativeMethods.EndInkInput(recContext); 721hr = MS.Win32.Recognizer.UnsafeNativeMethods.GetAlternateList(_hContext, ref recoRange, ref countOfAlternates, pRecoAlternates, MS.Win32.Recognizer.ALT_BREAKS.ALT_BREAKS_SAME); 733if ( HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetString(pRecoAlternates[i], out recoRange, ref size, recoString)) 734|| HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetConfidenceLevel(pRecoAlternates[i], out recoRange, out confidenceLevel)) ) 759MS.Win32.Recognizer.UnsafeNativeMethods.DestroyAlternate(pRecoAlternates[i]); 789MS.Win32.Recognizer.UnsafeNativeMethods.GetLatticePtr( 887if (HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
Core\CSharp\MS\Win32\UnsafeNativeMethodsTablet.cs (2)
180return (MS.Internal.HRESULT.Succeeded(MS.Win32.Recognizer.UnsafeNativeMethods.DestroyRecognizer(handle))); 245int hr = MS.Win32.Recognizer.UnsafeNativeMethods.DestroyContext(handle);