21 references to Failed
PresentationCore (21)
MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (9)
70
if (HRESULT.
Failed
(hr))
122
if (HRESULT.
Failed
(hr))
164
if (HRESULT.
Failed
(hr))
172
if (HRESULT.
Failed
(hr))
197
if ( HRESULT.
Failed
(hr) )
435
if ( HRESULT.
Failed
(hr) )
629
if ( 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)) )
772
if (HRESULT.
Failed
(MS.Win32.Recognizer.UnsafeNativeMethods.CreateRecognizer(ref s_Gesture, out s_hRec)))
System\Windows\InterOp\HwndTarget.cs (1)
553
if (HRESULT.
Failed
(hr))
System\Windows\Media\ColorContext.cs (5)
58
if (HRESULT.
Failed
(IWICCC.GetType(_colorContextHandle, out type)))
71
if (HRESULT.
Failed
(IWICCC.GetProfileBytes(
85
if (HRESULT.
Failed
(IWICCC.GetExifColorSpace(_colorContextHandle, out colorSpace)))
132
if (HRESULT.
Failed
(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(
139
if (HRESULT.
Failed
(IWICCC.InitializeFromMemory(
System\Windows\Media\Imaging\BitmapMetadata.cs (2)
298
if (HRESULT.
Failed
(hr))
310
if (HRESULT.
Failed
(hr))
System\Windows\Media\StreamAsIStream.cs (4)
655
if (HRESULT.
Failed
(UnsafeNativeMethods.WICImagingFactory.CreateStream(myFactory.ImagingFactoryPtr, out pIStream)))
660
if (HRESULT.
Failed
(UnsafeNativeMethods.WICStream.InitializeFromIStream(pIStream, comStream)))
677
if (HRESULT.
Failed
(UnsafeNativeMethods.WICImagingFactory.CreateStream(myFactory.ImagingFactoryPtr, out pIStream)))
682
if (HRESULT.
Failed
(UnsafeNativeMethods.WICStream.InitializeFromMemory(pIStream, memoryBuffer, (uint) bufferSize)))