60 *
ppv = &
This->IWICColorContext_iface;
77 TRACE(
"(%p) refcount=%u\n", iface,
ref);
87 TRACE(
"(%p) refcount=%u\n", iface,
ref);
117 WARN(
"file too large\n");
168 const BYTE *pbBuffer,
UINT cbBufferSize)
172 TRACE(
"(%p,%p,%u)\n", iface, pbBuffer, cbBufferSize);
182 This->profile_len = cbBufferSize;
207 TRACE(
"(%p,%p)\n", iface, pType);
219 TRACE(
"(%p,%u,%p,%p)\n", iface, cbBuffer, pbBuffer, pcbActual);
226 if (cbBuffer >=
This->profile_len && pbBuffer)
229 *pcbActual =
This->profile_len;
271 This->profile_len = 0;
272 This->exif_color_space = ~0
u;
274 *colorcontext = &
This->IWICColorContext_iface;
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HRESULT load_profile(const WCHAR *filename, BYTE **profile, UINT *len)
HRESULT ColorContext_Create(IWICColorContext **colorcontext)
static HRESULT WINAPI ColorContext_InitializeFromFilename(IWICColorContext *iface, LPCWSTR wzFilename)
static HRESULT WINAPI ColorContext_GetType(IWICColorContext *iface, WICColorContextType *pType)
static HRESULT WINAPI ColorContext_GetProfileBytes(IWICColorContext *iface, UINT cbBuffer, BYTE *pbBuffer, UINT *pcbActual)
static HRESULT WINAPI ColorContext_QueryInterface(IWICColorContext *iface, REFIID iid, void **ppv)
static ULONG WINAPI ColorContext_AddRef(IWICColorContext *iface)
static ColorContext * impl_from_IWICColorContext(IWICColorContext *iface)
static const IWICColorContextVtbl ColorContext_Vtbl
static HRESULT WINAPI ColorContext_InitializeFromExifColorSpace(IWICColorContext *iface, UINT value)
static ULONG WINAPI ColorContext_Release(IWICColorContext *iface)
static HRESULT WINAPI ColorContext_InitializeFromMemory(IWICColorContext *iface, const BYTE *pbBuffer, UINT cbBufferSize)
static HRESULT WINAPI ColorContext_GetExifColorSpace(IWICColorContext *iface, UINT *pValue)
#define ReadFile(a, b, c, d, e)
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
GLuint GLuint GLsizei count
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble * u
#define memcpy(s1, s2, n)
#define IsEqualIID(riid1, riid2)
IWICColorContext IWICColorContext_iface
#define CONTAINING_RECORD(address, type, field)
DWORD WINAPI GetLastError(void)
@ WICColorContextUninitialized
@ WICColorContextExifColorSpace
#define WINCODEC_ERR_WRONGSTATE
#define WINCODEC_ERR_NOTINITIALIZED
#define HRESULT_FROM_WIN32(x)