10 references to IWICColorContext
PresentationCore (10)
Core\CSharp\System\Windows\Media\ColorContext.cs (10)
35
using IWICCC = MS.Win32.PresentationCore.UnsafeNativeMethods.
IWICColorContext
;
64
IWICCC
.WICColorContextType type;
65
if (HRESULT.Failed(
IWICCC
.GetType(_colorContextHandle, out type)))
72
case
IWICCC
.WICColorContextType.WICColorContextProfile:
74
int hr =
IWICCC
.GetProfileBytes(_colorContextHandle, 0, null, out cbProfileActual);
78
if (HRESULT.Failed(
IWICCC
.GetProfileBytes(
90
case
IWICCC
.WICColorContextType.WICColorContextExifColorSpace:
92
if (HRESULT.Failed(
IWICCC
.GetExifColorSpace(_colorContextHandle, out colorSpace)))
146
if (HRESULT.Failed(
IWICCC
.InitializeFromMemory(
719
HRESULT.Check(
IWICCC
.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead));