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\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));