14 references to UnsafeNativeMethods
PresentationCore (14)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (12)
46int hr = MS.Win32.Recognizer.UnsafeNativeMethods.CreateContext(NativeRecognizer.RecognizerHandleSingleton, 141hr = MS.Win32.Recognizer.UnsafeNativeMethods.ResetContext(_hContext); 158hr = MS.Win32.Recognizer.UnsafeNativeMethods.Process(_hContext, out bIncremental); 383int hr = MS.Win32.Recognizer.UnsafeNativeMethods.SetEnabledUnicodeRanges(recContext, cRanges, charRanges); 412hr = MS.Win32.Recognizer.UnsafeNativeMethods.AddStroke(recContext, ref packetDescription, (uint)countOfBytes, packets, xForm); 426return MS.Win32.Recognizer.UnsafeNativeMethods.EndInkInput(recContext); 597hr = MS.Win32.Recognizer.UnsafeNativeMethods.GetAlternateList(_hContext, ref recoRange, ref countOfAlternates, pRecoAlternates, MS.Win32.Recognizer.ALT_BREAKS.ALT_BREAKS_SAME); 609if ( HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetString(pRecoAlternates[i], out recoRange, ref size, recoString)) 610|| HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.GetConfidenceLevel(pRecoAlternates[i], out recoRange, out confidenceLevel)) ) 634MS.Win32.Recognizer.UnsafeNativeMethods.DestroyAlternate(pRecoAlternates[i]); 658MS.Win32.Recognizer.UnsafeNativeMethods.GetLatticePtr( 751if (HRESULT.Failed(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
MS\Win32\UnsafeNativeMethodsTablet.cs (2)
91return (MS.Internal.HRESULT.Succeeded(MS.Win32.Recognizer.UnsafeNativeMethods.DestroyRecognizer(handle))); 131int hr = MS.Win32.Recognizer.UnsafeNativeMethods.DestroyContext(handle);