10 references to IWICColorContext
PresentationCore (10)
System\Windows\Media\ColorContext.cs (10)
32
using IWICCC = MS.Win32.PresentationCore.UnsafeNativeMethods.
IWICColorContext
;
57
IWICCC
.WICColorContextType type;
58
if (HRESULT.Failed(
IWICCC
.GetType(_colorContextHandle, out type)))
65
case
IWICCC
.WICColorContextType.WICColorContextProfile:
67
int hr =
IWICCC
.GetProfileBytes(_colorContextHandle, 0, null, out cbProfileActual);
71
if (HRESULT.Failed(
IWICCC
.GetProfileBytes(
83
case
IWICCC
.WICColorContextType.WICColorContextExifColorSpace:
85
if (HRESULT.Failed(
IWICCC
.GetExifColorSpace(_colorContextHandle, out colorSpace)))
139
if (HRESULT.Failed(
IWICCC
.InitializeFromMemory(
618
HRESULT.Check(
IWICCC
.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead));