4 writes to _colorContextHandle
PresentationCore (4)
System\Windows\Media\ColorContext.cs (4)
32
_colorContextHandle
= colorContextHandle;
114
_colorContextHandle
= null;
117
factoryMaker.ImagingFactoryPtr, out
_colorContextHandle
))
599
HRESULT.Check(UnsafeNativeMethodsMilCoreApi.WICCodec.CreateColorContext(factoryMaker.ImagingFactoryPtr, out
_colorContextHandle
));
8 references to _colorContextHandle
PresentationCore (8)
System\Windows\Media\ColorContext.cs (8)
42
if (HRESULT.Failed(IWICCC.GetType(
_colorContextHandle
, out type)))
51
int hr = IWICCC.GetProfileBytes(
_colorContextHandle
, 0, null, out cbProfileActual);
56
_colorContextHandle
, cbProfileActual, profileData, out cbProfileActual))
69
if (HRESULT.Failed(IWICCC.GetExifColorSpace(
_colorContextHandle
, out colorSpace)))
113
_colorContextHandle
.Dispose();
124
_colorContextHandle
, sRGBProfile, (uint)sRGBProfile.Length))
276
return
_colorContextHandle
;
600
HRESULT.Check(IWICCC.InitializeFromMemory(
_colorContextHandle
, rawBytes, (uint)numBytesRead));