System\Windows\Media\ColorContext.cs (9)
369HRESULT.Check(hr);
382HRESULT.Check(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(factoryMaker.ImagingFactoryPtr, out colorContextHandles[i]));
395HRESULT.Check(getColorContexts(ref numContexts, colorContextPtrs));
570HRESULT.Check(UnsafeNativeMethodsMilCoreApi.Mscms.GetStandardColorSpaceProfile(IntPtr.Zero, dwProfileID, buffer, out bufferSize));
588HRESULT.Check(UnsafeNativeMethodsMilCoreApi.Mscms.GetColorDirectory(IntPtr.Zero, buffer, out bufferSize));
621HRESULT.Check(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(factoryMaker.ImagingFactoryPtr, out _colorContextHandle));
622HRESULT.Check(IWICCC.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead));
669HRESULT.Check(Marshal.GetHRForLastWin32Error());
683HRESULT.Check(Marshal.GetHRForLastWin32Error());
System\Windows\Media\MediaPlayerState.cs (19)
126HRESULT.Check(MILMedia.IsBuffering(_nativeMedia, ref isBuffering));
140HRESULT.Check(MILMedia.CanPause(_nativeMedia, ref canPause));
154HRESULT.Check(MILMedia.GetDownloadProgress(_nativeMedia, ref downloadProgress));
168HRESULT.Check(MILMedia.GetBufferingProgress(_nativeMedia, ref bufferingProgress));
184HRESULT.Check(MILMedia.GetNaturalHeight(_nativeMedia, ref height));
200HRESULT.Check(MILMedia.GetNaturalWidth(_nativeMedia, ref width));
216HRESULT.Check(MILMedia.HasAudio(_nativeMedia, ref hasAudio));
232HRESULT.Check(MILMedia.HasVideo(_nativeMedia, ref hasVideo));
285HRESULT.Check(hr);
331HRESULT.Check(hr);
354HRESULT.Check(MILMedia.SetIsScrubbingEnabled(_nativeMedia, value));
411HRESULT.Check(MILMedia.GetMediaLength(_nativeMedia, ref mediaLength));
742HRESULT.Check(MILMedia.Close(_nativeMedia));
792HRESULT.Check(MILMedia.NeedUIFrameUpdate(_nativeMedia));
810HRESULT.Check(UnsafeNativeMethods.MILFactory2.CreateMediaPlayer(
868HRESULT.Check(MILMedia.Open(_nativeMedia, toOpen));
910HRESULT.Check(MILMedia.SetPosition(_nativeMedia, value.Ticks));
921HRESULT.Check(MILMedia.GetPosition(_nativeMedia, ref position));
933HRESULT.Check(MILMedia.SetRate(_nativeMedia, value));