10 references to IWICColorContext
PresentationCore (10)
System\Windows\Media\ColorContext.cs (10)
16
using IWICCC = MS.Win32.PresentationCore.UnsafeNativeMethods.
IWICColorContext
;
41
IWICCC
.WICColorContextType type;
42
if (HRESULT.Failed(
IWICCC
.GetType(_colorContextHandle, out type)))
49
case
IWICCC
.WICColorContextType.WICColorContextProfile:
51
int hr =
IWICCC
.GetProfileBytes(_colorContextHandle, 0, null, out cbProfileActual);
55
if (HRESULT.Failed(
IWICCC
.GetProfileBytes(
67
case
IWICCC
.WICColorContextType.WICColorContextExifColorSpace:
69
if (HRESULT.Failed(
IWICCC
.GetExifColorSpace(_colorContextHandle, out colorSpace)))
123
if (HRESULT.Failed(
IWICCC
.InitializeFromMemory(
600
HRESULT.Check(
IWICCC
.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead));