10 references to IWICColorContext
PresentationCore (10)
System\Windows\Media\ColorContext.cs (10)
15
using IWICCC = MS.Win32.PresentationCore.UnsafeNativeMethods.
IWICColorContext
;
40
IWICCC
.WICColorContextType type;
41
if (HRESULT.Failed(
IWICCC
.GetType(_colorContextHandle, out type)))
48
case
IWICCC
.WICColorContextType.WICColorContextProfile:
50
int hr =
IWICCC
.GetProfileBytes(_colorContextHandle, 0, null, out cbProfileActual);
54
if (HRESULT.Failed(
IWICCC
.GetProfileBytes(
66
case
IWICCC
.WICColorContextType.WICColorContextExifColorSpace:
68
if (HRESULT.Failed(
IWICCC
.GetExifColorSpace(_colorContextHandle, out colorSpace)))
122
if (HRESULT.Failed(
IWICCC
.InitializeFromMemory(
599
HRESULT.Check(
IWICCC
.InitializeFromMemory(_colorContextHandle, rawBytes, (uint)numBytesRead));