21 references to Failed
PresentationCore (21)
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (9)
85
if (HRESULT.
Failed
(hr))
154
if (HRESULT.
Failed
(hr))
211
if (HRESULT.
Failed
(hr))
219
if (HRESULT.
Failed
(hr))
244
if ( HRESULT.
Failed
(hr) )
522
if ( HRESULT.
Failed
(hr) )
733
if ( 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)) )
887
if (HRESULT.
Failed
(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
Core\CSharp\System\Windows\Interop\HwndTarget.cs (1)
604
if (HRESULT.
Failed
(hr))
Core\CSharp\System\Windows\Media\ColorContext.cs (5)
65
if (HRESULT.
Failed
(IWICCC.GetType(_colorContextHandle, out type)))
78
if (HRESULT.
Failed
(IWICCC.GetProfileBytes(
92
if (HRESULT.
Failed
(IWICCC.GetExifColorSpace(_colorContextHandle, out colorSpace)))
139
if (HRESULT.
Failed
(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(
146
if (HRESULT.
Failed
(IWICCC.InitializeFromMemory(
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (2)
318
if (HRESULT.
Failed
(hr))
330
if (HRESULT.
Failed
(hr))
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (4)
717
if (HRESULT.
Failed
(UnsafeNativeMethods.WICImagingFactory.CreateStream(myFactory.ImagingFactoryPtr, out pIStream)))
722
if (HRESULT.
Failed
(UnsafeNativeMethods.WICStream.InitializeFromIStream(pIStream, comStream)))
743
if (HRESULT.
Failed
(UnsafeNativeMethods.WICImagingFactory.CreateStream(myFactory.ImagingFactoryPtr, out pIStream)))
748
if (HRESULT.
Failed
(UnsafeNativeMethods.WICStream.InitializeFromMemory(pIStream, memoryBuffer, (uint) bufferSize)))