266 references to Check
PresentationCore (266)
Core\CSharp\System\Windows\Interop\D3DImage.cs (2)
201HRESULT.Check(UnsafeNativeMethods.InteropDeviceBitmap.Create( 356HRESULT.Check(UnsafeNativeMethods.InteropDeviceBitmap.AddDirtyRect(
Core\CSharp\System\Windows\Interop\HwndTarget.cs (3)
614HRESULT.Check(hr); 761HRESULT.Check(VisualTarget_DetachFromHwnd(_hWnd)); 1682HRESULT.Check(MILUpdateSystemParametersInfo.Update());
Core\CSharp\System\Windows\Media\ChannelManager.cs (2)
148HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(_pSyncConnection)); 170HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create(
Core\CSharp\System\Windows\Media\ColorContext.cs (9)
437HRESULT.Check(hr); 451HRESULT.Check(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(factoryMaker.ImagingFactoryPtr, out colorContextHandles[i])); 464HRESULT.Check(getColorContexts(ref numContexts, colorContextPtrs)); 663HRESULT.Check(UnsafeNativeMethodsMilCoreApi.Mscms.GetStandardColorSpaceProfile(IntPtr.Zero, dwProfileID, buffer, out bufferSize)); 681HRESULT.Check(UnsafeNativeMethodsMilCoreApi.Mscms.GetColorDirectory(IntPtr.Zero, buffer, out bufferSize)); 718HRESULT.Check(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(factoryMaker.ImagingFactoryPtr, out _colorContextHandle)); 719HRESULT.Check(IWICCC.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead)); 770HRESULT.Check(Marshal.GetHRForLastWin32Error()); 784HRESULT.Check(Marshal.GetHRForLastWin32Error());
Core\CSharp\System\Windows\Media\ColorContextHelper.cs (1)
136HRESULT.Check(Marshal.GetHRForLastWin32Error());
Core\CSharp\System\Windows\Media\ColorTransformHelper.cs (2)
135HRESULT.Check(Marshal.GetHRForLastWin32Error()); 152HRESULT.Check(UnsafeNativeMethods.Mscms.TranslateColors(
Core\CSharp\System\Windows\Media\EventProxy.cs (1)
192HRESULT.Check(MILCreateEventProxy(ref epd, out eventProxy));
Core\CSharp\System\Windows\Media\FactoryMaker.cs (2)
48HRESULT.Check(UnsafeNativeMethods.MILFactory2.CreateFactory(out s_pFactory, MS.Internal.Composition.Version.MilSdkVersion)); 143HRESULT.Check(UnsafeNativeMethods.WICCodec.CreateImagingFactory(UnsafeNativeMethods.WICCodec.WINCODEC_SDK_VERSION, out s_pImagingFactory));
Core\CSharp\System\Windows\Media\Geometry.cs (7)
229HRESULT.Check(hr); 328HRESULT.Check(hr); 459HRESULT.Check(hr); 513HRESULT.Check(hr); 673HRESULT.Check(hr); 784HRESULT.Check(hr); 920HRESULT.Check(hr);
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (2)
1617HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_GetGlyphOutline( 1637HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilGlyphRun_ReleasePathGeometryData(
Core\CSharp\System\Windows\Media\Imaging\BitmapCodecInfo.cs (20)
81HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetContainerFormat( 113HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetAuthor( 127HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetAuthor( 165HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetVersion( 179HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetVersion( 217HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetSpecVersion( 231HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetSpecVersion( 269HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetFriendlyName( 283HRESULT.Check(UnsafeNativeMethods.WICComponentInfo.GetFriendlyName( 321HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetDeviceManufacturer( 335HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetDeviceManufacturer( 373HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetDeviceModels( 387HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetDeviceModels( 425HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetMimeTypes( 439HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetMimeTypes( 477HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetFileExtensions( 491HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetFileExtensions( 527HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.DoesSupportAnimation( 557HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.DoesSupportLossless( 587HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.DoesSupportMultiframe(
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (12)
607HRESULT.Check(hr); 662HRESULT.Check(hr); 733HRESULT.Check(hr); 772HRESULT.Check(UnsafeNativeMethods.WICBitmapDecoder.GetDecoderInfo( 837HRESULT.Check(hr); 1298HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateDecoderFromFileHandle( 1315HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateDecoderFromStream( 1517HRESULT.Check(UnsafeNativeMethods.WICBitmapDecoder.GetDecoderInfo( 1523HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetContainerFormat(decoderInfo, out clsId)); 1529HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetMimeTypes( 1541HRESULT.Check(UnsafeNativeMethods.WICBitmapCodecInfo.GetMimeTypes( 1733HRESULT.Check(UnsafeNativeMethods.WICBitmapDecoder.GetFrameCount(_decoderHandle, out numFrames));
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (17)
298HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.GetEncoderInfo( 414HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.Initialize( 431HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.SetThumbnail( 446HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.SetPalette( 472HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryWriter.SetMetadataByName( 490HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.CreateNewFrame( 510HRESULT.Check(UnsafeNativeMethods.WICBitmapEncoder.Commit(encoderHandle)); 601HRESULT.Check(hr); 632HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateEncoder( 659HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.SetSize( 681HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.SetResolution( 701HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.SetThumbnail( 773HRESULT.Check(UnsafeNativeMethods.WICCodec.WICSetEncoderFormat( 794HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.GetMetadataQueryWriter( 807HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryWriter.SetMetadataByName( 825HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.WriteSource( 834HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Commit(
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (4)
651HRESULT.Check(hr); 717HRESULT.Check(hr); 754HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_NOTINITIALIZED); 779HRESULT.Check(UnsafeNativeMethods.WICBitmapDecoder.GetFrame(
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (15)
180HRESULT.Check(UnsafeNativeMethods.WICComponentFactory.CreateMetadataWriterFromReader( 665HRESULT.Check(UnsafeNativeMethods.WICCodec.WICMapShortNameToGuid( 788HRESULT.Check(UnsafeNativeMethods.WICComponentFactory.CreateQueryWriterFromBlockWriter( 842HRESULT.Check(UnsafeNativeMethods.WICComponentFactory.CreateQueryWriterFromBlockWriter( 914HRESULT.Check(hr); 1019HRESULT.Check(UnsafeNativeMethods.WICCodec.WICMapGuidToShortName( 1033HRESULT.Check(UnsafeNativeMethods.WICCodec.WICMapGuidToShortName( 1066HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryReader.GetLocation( 1080HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryReader.GetLocation( 1177HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryWriter.SetMetadataByName( 1189HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryWriter.SetMetadataByName( 1241HRESULT.Check(hr); 1302HRESULT.Check(hr); 1370HRESULT.Check(hr); 1645HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryReader.GetContainerFormat(
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (3)
99HRESULT.Check(hr); 134HRESULT.Check(UnsafeNativeMethods.EnumString.Reset(_enumeratorHandle)); 202HRESULT.Check(UnsafeNativeMethods.WICMetadataQueryReader.GetEnumerator(
Core\CSharp\System\Windows\Media\Imaging\BitmapPalette.cs (8)
106HRESULT.Check(UnsafeNativeMethods.WICPalette.InitializeFromBitmap( 157HRESULT.Check(UnsafeNativeMethods.WICPalette.InitializePredefined( 216HRESULT.Check(UnsafeNativeMethods.WICPalette.GetType(unmanagedPalette, out paletteType)); 217HRESULT.Check(UnsafeNativeMethods.WICPalette.HasAlpha(unmanagedPalette, out hasAlpha)); 301HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreatePalette( 336HRESULT.Check(UnsafeNativeMethods.WICPalette.InitializeCustom( 357HRESULT.Check(UnsafeNativeMethods.WICPalette.GetColorCount(_palette, 373HRESULT.Check(UnsafeNativeMethods.WICPalette.GetColors(
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (14)
649HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 681HRESULT.Check(UnsafeNativeMethods.WICBitmapSource.GetSize( 686HRESULT.Check(UnsafeNativeMethods.WICBitmapSource.GetResolution( 722HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 822HRESULT.Check(UnsafeNativeMethods.WICBitmapSource.CopyPixels( 919HRESULT.Check(UnsafeNativeMethods.WICBitmapSource.CopyPixels( 957HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateFormatConverter( 961HRESULT.Check(UnsafeNativeMethods.WICFormatConverter.Initialize( 979HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromSource( 1005HRESULT.Check(UnsafeNativeMethods.MilCoreApi.CreateCWICWrapperBitmap( 1308HRESULT.Check(UnsafeNativeMethods.WICCodec.WICConvertBitmapSource( 1314HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromSource( 1323HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromSource( 1927HRESULT.Check(UnsafeNativeMethods.WICPalette.InitializeFromPalette(pIPalette, palette.InternalPalette));
Core\CSharp\System\Windows\Media\Imaging\BitmapVisualManager.cs (1)
140HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface(
Core\CSharp\System\Windows\Media\Imaging\BmpBitmapEncoder.cs (1)
81HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\CachedBitmap.cs (4)
445HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromSource( 503HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromMemory( 515HRESULT.Check(UnsafeNativeMethods.WICBitmap.SetResolution( 522HRESULT.Check(UnsafeNativeMethods.WICBitmap.SetPalette(
Core\CSharp\System\Windows\Media\Imaging\ColorConvertedBitmap.cs (2)
132HRESULT.Check(UnsafeNativeMethods.WICCodec.CreateColorTransform( 139HRESULT.Check(UnsafeNativeMethods.WICColorTransform.Initialize(
Core\CSharp\System\Windows\Media\Imaging\CroppedBitmap.cs (2)
133HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapClipper( 139HRESULT.Check(UnsafeNativeMethods.WICBitmapClipper.Initialize(
Core\CSharp\System\Windows\Media\Imaging\FormatConvertedBitmap.cs (2)
133HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateFormatConverter( 147HRESULT.Check(UnsafeNativeMethods.WICFormatConverter.Initialize(
Core\CSharp\System\Windows\Media\Imaging\GifBitmapEncoder.cs (1)
79HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\InplaceBitmapMetadataWriter.cs (4)
82HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateFastMetadataEncoderFromFrameDecode( 89HRESULT.Check(UnsafeNativeMethods.WICFastMetadataEncoder.GetMetadataQueryWriter( 115HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateFastMetadataEncoderFromDecoder( 122HRESULT.Check(UnsafeNativeMethods.WICFastMetadataEncoder.GetMetadataQueryWriter(
Core\CSharp\System\Windows\Media\Imaging\InteropBitmapSource.cs (11)
72HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromHBITMAP( 111HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromHICON( 166HRESULT.Check(UnsafeNativeMethods.WindowsCodecApi.CreateBitmapFromSection( 310HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFromSource( 442HRESULT.Check(UnsafeNativeMethods.WICBitmap.SetResolution(_unmanagedSource, 96, 96)); 450HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapClipper( 456HRESULT.Check(UnsafeNativeMethods.WICBitmapClipper.Initialize( 478HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapScaler( 484HRESULT.Check(UnsafeNativeMethods.WICBitmapScaler.Initialize( 494HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFlipRotator( 500HRESULT.Check(UnsafeNativeMethods.WICBitmapFlipRotator.Initialize(
Core\CSharp\System\Windows\Media\Imaging\JpegBitmapEncoder.cs (3)
229HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 249HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 262HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\PngBitmapEncoder.cs (2)
137HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 150HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (2)
464HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 787HRESULT.Check(hr);
Core\CSharp\System\Windows\Media\Imaging\RenderTargetBitmap.cs (4)
159HRESULT.Check(UnsafeNativeMethods.MILFactory2.CreateBitmapRenderTargetForBitmap( 237HRESULT.Check(MILRenderTargetBitmap.Clear(_renderTargetBitmap)); 296HRESULT.Check(UnsafeNativeMethods.MILFactory2.CreateBitmapRenderTarget( 309HRESULT.Check(MILRenderTargetBitmap.GetBitmap(
Core\CSharp\System\Windows\Media\Imaging\TiffBitmapEncoder.cs (2)
174HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 187HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\TransformedBitmap.cs (6)
213HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapScaler( 219HRESULT.Check(UnsafeNativeMethods.WICBitmapScaler.Initialize( 245HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFlipRotator( 251HRESULT.Check(UnsafeNativeMethods.WICBitmapFlipRotator.Initialize( 265HRESULT.Check(UnsafeNativeMethods.WICImagingFactory.CreateBitmapFlipRotator( 271HRESULT.Check(UnsafeNativeMethods.WICBitmapFlipRotator.Initialize(
Core\CSharp\System\Windows\Media\Imaging\UnknownBitmapEncoder.cs (1)
84HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\WmpBitmapEncoder.cs (17)
475HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 495HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 515HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 535HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 555HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 575HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 595HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 615HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 635HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 655HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 675HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 695HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 715HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 735HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 755HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 775HRESULT.Check(UnsafeNativeMethods.IPropertyBag2.Write( 788HRESULT.Check(UnsafeNativeMethods.WICBitmapFrameEncode.Initialize(
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (13)
122HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 134HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 155HRESULT.Check(MILSwDoubleBufferedBitmap.Create( 306HRESULT.Check(UnsafeNativeMethods.WICBitmap.Lock( 320HRESULT.Check(UnsafeNativeMethods.WICBitmapLock.GetDataPointer( 328HRESULT.Check(UnsafeNativeMethods.WICBitmapLock.GetStride( 699HRESULT.Check(MILSwDoubleBufferedBitmap.ProtectBackBuffer(_pDoubleBufferedBitmap)); 845HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 851HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 867HRESULT.Check(MILSwDoubleBufferedBitmap.Create( 986HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 1010HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_VALUEOVERFLOW); 1066HRESULT.Check((int)WinCodecErrors.WINCODEC_ERR_INSUFFICIENTBUFFER);
Core\CSharp\System\Windows\Media\MediaContextNotificationWindow.cs (3)
107MS.Internal.HRESULT.Check(MilContent_AttachToHwnd(_hwndNotification.Value.Handle)); 122MS.Internal.HRESULT.Check(MilContent_DetachFromHwnd(_hwndNotification.Value.Handle)); 200MS.Internal.HRESULT.Check(MilContent_AttachToHwnd(_hwndNotification.Value.Handle));
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (19)
139HRESULT.Check(MILMedia.IsBuffering(_nativeMedia, ref isBuffering)); 159HRESULT.Check(MILMedia.CanPause(_nativeMedia, ref canPause)); 179HRESULT.Check(MILMedia.GetDownloadProgress(_nativeMedia, ref downloadProgress)); 199HRESULT.Check(MILMedia.GetBufferingProgress(_nativeMedia, ref bufferingProgress)); 221HRESULT.Check(MILMedia.GetNaturalHeight(_nativeMedia, ref height)); 243HRESULT.Check(MILMedia.GetNaturalWidth(_nativeMedia, ref width)); 265HRESULT.Check(MILMedia.HasAudio(_nativeMedia, ref hasAudio)); 287HRESULT.Check(MILMedia.HasVideo(_nativeMedia, ref hasVideo)); 350HRESULT.Check(hr); 405HRESULT.Check(hr); 434HRESULT.Check(MILMedia.SetIsScrubbingEnabled(_nativeMedia, value)); 497HRESULT.Check(MILMedia.GetMediaLength(_nativeMedia, ref mediaLength)); 832HRESULT.Check(MILMedia.Close(_nativeMedia)); 892HRESULT.Check(MILMedia.NeedUIFrameUpdate(_nativeMedia)); 917HRESULT.Check(UnsafeNativeMethods.MILFactory2.CreateMediaPlayer( 1021HRESULT.Check(MILMedia.Open(_nativeMedia, toOpen)); 1143HRESULT.Check(MILMedia.SetPosition(_nativeMedia, value.Ticks)); 1159HRESULT.Check(MILMedia.GetPosition(_nativeMedia, ref position)); 1179HRESULT.Check(MILMedia.SetRate(_nativeMedia, value));
Core\CSharp\System\Windows\Media\MediaSystem.cs (5)
66HRESULT.Check(UnsafeNativeMethods.MilVersionCheck(MS.Internal.Composition.Version.MilSdkVersion)); 75HRESULT.Check(SafeNativeMethods.MilCompositionEngine_InitializePartitionManager( 180HRESULT.Check(SafeNativeMethods.MilCompositionEngine_DeinitializePartitionManager()); 232HRESULT.Check(UnsafeNativeMethods.WgxConnection_Create( 271HRESULT.Check(UnsafeNativeMethods.WgxConnection_Disconnect(s_pConnection));
Core\CSharp\System\windows\Media\MILUtilities.cs (1)
208HRESULT.Check(
Core\CSharp\System\Windows\Media\PathGeometry.cs (4)
629HRESULT.Check(MilCoreApi.MilUtility_GetPointAtLengthFraction( 713HRESULT.Check(hr); 873HRESULT.Check(hr); 933HRESULT.Check(hr);
Core\CSharp\System\Windows\Media\PixelFormat.cs (7)
551HRESULT.Check(UnsafeNativeMethods.WICPixelFormatInfo.GetChannelCount( 564HRESULT.Check(UnsafeNativeMethods.WICPixelFormatInfo.GetChannelMask( 573HRESULT.Check(UnsafeNativeMethods.WICPixelFormatInfo.GetChannelMask( 619HRESULT.Check(hr); 622HRESULT.Check(UnsafeNativeMethods.MILUnknown.QueryInterface( 657HRESULT.Check(UnsafeNativeMethods.WICPixelFormatInfo.GetBitsPerPixel( 730HRESULT.Check(UnsafeNativeMethods.WICBitmapSource.GetPixelFormat(bitmapSource, out guidPixelFormat));
Core\CSharp\System\Windows\Media\SafeMediaHandle.cs (1)
54HRESULT.Check(MILMedia.Shutdown(handle));
Core\CSharp\System\Windows\Media\SafeReversePInvokeHandle.cs (1)
59HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MilCreateReversePInvokeWrapper(delegatePtr, out reversePInvokeWrapper));
Core\CSharp\System\Windows\Media\StreamAsIStream.cs (1)
797HRESULT.Check(UnsafeNativeMethods.MilCoreApi.MILCreateStreamFromStreamDescriptor(ref sd, out pStream));
Graphics\include\exports.cs (22)
402HRESULT.Check(UnsafeNativeMethods.MilConnection_CreateChannel( 432HRESULT.Check(UnsafeNativeMethods.MilConnection_CommitChannel( 461HRESULT.Check(UnsafeNativeMethods.MilConnection_CloseBatch( 488HRESULT.Check(MilCoreApi.MilComposition_SyncFlush(_hChannel)); 506HRESULT.Check(UnsafeNativeMethods.MilConnection_CloseBatch(_hChannel)); 507HRESULT.Check(UnsafeNativeMethods.MilConnection_CommitChannel(_hChannel)); 514HRESULT.Check(UnsafeNativeMethods.MilConnection_DestroyChannel(_hChannel)); 532HRESULT.Check(UnsafeNativeMethods.WgxConnection_SameThreadPresent(_pConnection)); 555HRESULT.Check(UnsafeNativeMethods.MilResource_CreateOrAddRefOnChannel( 598HRESULT.Check(UnsafeNativeMethods.MilResource_DuplicateHandle( 631HRESULT.Check(UnsafeNativeMethods.MilResource_ReleaseOnChannel( 665HRESULT.Check(UnsafeNativeMethods.MilResource_GetRefCountOnChannel( 706HRESULT.Check(UnsafeNativeMethods.MilChannel_GetMarshalType( 790HRESULT.Check(hr); 831HRESULT.Check(hr); 870HRESULT.Check(hr); 896HRESULT.Check(UnsafeNativeMethods.MilChannel_EndCommand(_hChannel)); 914HRESULT.Check(UnsafeNativeMethods.MilResource_SendCommandBitmapSource( 937HRESULT.Check(UnsafeNativeMethods.MilResource_SendCommandMedia( 969HRESULT.Check(UnsafeNativeMethods.MilChannel_SetNotificationWindow( 999HRESULT.Check(UnsafeNativeMethods.MilComposition_WaitForNextMessage( 1039HRESULT.Check(UnsafeNativeMethods.MilComposition_PeekNextMessage(