2 * MSCMS - Color Management System for Wine
4 * Copyright 2004 Hans Leidekker
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 #include "wine/debug.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(mscms
);
35 /* These basic Windows types are defined in lcms.h when compiling on
36 * a non-Windows platforms (why?), so they would normally not conflict
37 * with anything included earlier. But since we are building Wine they
38 * most certainly will have been defined before we include lcms.h.
39 * The preprocessor comes to the rescue.
42 #define BYTE LCMS_BYTE
43 #define LPBYTE LCMS_LPBYTE
44 #define WORD LCMS_WORD
45 #define LPWORD LCMS_LPWORD
46 #define DWORD LCMS_DWORD
47 #define LPDWORD LCMS_LPDWORD
48 #define BOOL LCMS_BOOL
49 #define LPSTR LCMS_LPSTR
50 #define LPVOID LCMS_LPVOID
63 /* Funny thing is lcms.h defines DWORD as an 'unsigned int' whereas Wine
64 * defines it as an 'unsigned long'. To avoid compiler warnings we use a
65 * preprocessor define for DWORD and LPDWORD to get back Wine's orginal
66 * (typedef) definitions.
73 #define LPDWORD LPDWORD
77 HPROFILE WINAPI
OpenColorProfileA( PPROFILE profile
, DWORD access
, DWORD sharing
, DWORD creation
)
79 FIXME("( %p, %lx, %lx, %lx ) stub!\n", profile
, access
, sharing
, creation
);
84 HPROFILE WINAPI
OpenColorProfileW( PPROFILE profile
, DWORD access
, DWORD sharing
, DWORD creation
)
86 FIXME("( %p, %lx, %lx, %lx ) stub!\n", profile
, access
, sharing
, creation
);
91 BOOL WINAPI
CloseColorProfile( HPROFILE profile
)
93 FIXME("( %p ) stub!\n", profile
);