- Implemented SPI_SETICONMETRICS.
[wine] / dlls / mscms / stub.c
1 /*
2  * MSCMS - Color Management System for Wine
3  *
4  * Copyright 2004 Hans Leidekker
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "config.h"
22 #include "wine/debug.h"
23
24 #include <stdarg.h>
25
26 #include "windef.h"
27 #include "winbase.h"
28 #include "wingdi.h"
29 #include "winuser.h"
30 #include "icm.h"
31
32 WINE_DEFAULT_DEBUG_CHANNEL(mscms);
33
34 BOOL WINAPI AssociateColorProfileWithDeviceA( PCSTR machine, PCSTR profile, PCSTR device )
35 {
36     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
37
38     return TRUE;
39 }
40
41 BOOL WINAPI AssociateColorProfileWithDeviceW( PCWSTR machine, PCWSTR profile, PCWSTR device )
42 {
43     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
44
45     return TRUE;
46 }
47
48 BOOL WINAPI CheckBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT format, DWORD width,
49                              DWORD height, DWORD stride, PBYTE result, PBMCALLBACKFN callback,
50                              LPARAM data )
51 {
52     FIXME( "( %p, %p, 0x%08x, 0x%08lx, 0x%08lx, 0x%08lx, %p, %p, 0x%08lx ) stub\n",
53            transform, srcbits, format, width, height, stride, result, callback, data );
54
55     return FALSE;
56 }
57
58 BOOL WINAPI CheckColors( HTRANSFORM transform, PCOLOR colors, DWORD number, COLORTYPE type,
59                          PBYTE result )
60 {
61     FIXME( "( %p, %p, 0x%08lx, 0x%08x, %p ) stub\n", transform, colors, number, type, result );
62
63     return FALSE;
64 }
65
66 BOOL WINAPI ConvertColorNameToIndex( HPROFILE profile, PCOLOR_NAME name, PDWORD index, DWORD count )
67 {
68     FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", profile, name, index, count );
69
70     return FALSE;
71 }
72
73 BOOL WINAPI ConvertIndexToColorName( HPROFILE profile, PDWORD index, PCOLOR_NAME name, DWORD count )
74 {
75     FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", profile, index, name, count );
76
77     return FALSE;
78 }
79
80 HTRANSFORM WINAPI CreateColorTransformA( LPLOGCOLORSPACEA space, HPROFILE dest, HPROFILE target,
81                                          DWORD flags )
82 {
83     FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", space, dest, target, flags );
84
85     return NULL;
86 }
87
88 HTRANSFORM WINAPI CreateColorTransformW( LPLOGCOLORSPACEW space, HPROFILE dest, HPROFILE target,
89                                          DWORD flags )
90 {
91     FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", space, dest, target, flags );
92     
93     return NULL;
94 }
95
96 BOOL WINAPI CreateDeviceLinkProfile( PHPROFILE profiles, DWORD nprofiles, PDWORD intents,
97                                      DWORD nintents, DWORD flags, PBYTE *data, DWORD index )
98 {
99     FIXME( "( %p, 0x%08lx, %p, 0x%08lx, 0x%08lx, %p, 0x%08lx ) stub\n",
100            profiles, nprofiles, intents, nintents, flags, data, index );
101
102     return FALSE;
103 }
104
105 HTRANSFORM WINAPI CreateMultiProfileTransform( PHPROFILE profiles, DWORD nprofiles, PDWORD intents,
106                                                DWORD nintents, DWORD flags, DWORD index )
107 {
108     FIXME( "( %p, 0x%08lx, %p, 0x%08lx, 0x%08lx, 0x%08lx ) stub\n",
109            profiles, nprofiles, intents, nintents, flags, index );
110
111     return NULL;
112 }
113
114 BOOL WINAPI CreateProfileFromLogColorSpaceA( LPLOGCOLORSPACEA space, PBYTE *buffer )
115 {
116     FIXME( "( %p, %p ) stub\n", space, buffer );
117
118     return FALSE;
119 }
120
121 BOOL WINAPI CreateProfileFromLogColorSpaceW( LPLOGCOLORSPACEW space, PBYTE *buffer )
122 {
123     FIXME( "( %p, %p ) stub\n", space, buffer );
124
125     return FALSE;
126 }
127
128 BOOL WINAPI DeleteColorTransform( HTRANSFORM transform )
129 {
130     FIXME( "( %p ) stub\n", transform );
131
132     return TRUE;
133 }
134
135 BOOL WINAPI DisassociateColorProfileFromDeviceA( PCSTR machine, PCSTR profile, PCSTR device )
136 {
137     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
138
139     return TRUE;
140 }
141
142 BOOL WINAPI DisassociateColorProfileFromDeviceW( PCWSTR machine, PCWSTR profile, PCWSTR device )
143 {
144     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
145
146     return TRUE;
147 }
148
149 BOOL WINAPI EnumColorProfilesA( PCSTR machine, PENUMTYPEA record, PBYTE buffer, PDWORD size,
150                                 PDWORD number )
151 {
152     FIXME( "( %p, %p, %p, %p, %p ) stub\n", machine, record, buffer, size, number );
153
154     return FALSE;
155 }
156
157 BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer, PDWORD size,
158                                 PDWORD number )
159 {
160     FIXME( "( %p, %p, %p, %p, %p ) stub\n", machine, record, buffer, size, number );
161
162     return FALSE;
163 }
164
165 DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
166 {
167     FIXME( "( %p, 0x%08lx ) stub\n", transform, info );
168
169     return 0;
170 }
171
172 BOOL WINAPI GetNamedProfileInfo( HPROFILE profile, PNAMED_PROFILE_INFO info )
173 {
174     FIXME( "( %p, %p ) stub\n", profile, info );
175
176     return FALSE;
177 }
178
179 BOOL WINAPI GetPS2ColorRenderingDictionary( HPROFILE profile, DWORD intent, PBYTE buffer,
180                                             PDWORD size, PBOOL binary )
181 {
182     FIXME( "( %p, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
183
184     return FALSE;
185 }
186
187 BOOL WINAPI GetPS2ColorRenderingIntent( HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size )
188 {
189     FIXME( "( %p, 0x%08lx, %p, %p ) stub\n", profile, intent, buffer, size );
190
191     return FALSE;
192 }
193
194 BOOL WINAPI GetPS2ColorSpaceArray( HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer,
195                                    PDWORD size, PBOOL binary )
196 {
197     FIXME( "( %p, 0x%08lx, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, type, buffer, size, binary );
198
199     return FALSE;
200 }
201
202 BOOL WINAPI RegisterCMMA( PCSTR machine, DWORD id, PCSTR dll )
203 {
204     FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
205
206     return TRUE;
207 }
208
209 BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
210 {
211     FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
212
213     return TRUE;
214 }
215
216 BOOL WINAPI SelectCMM( DWORD id )
217 {
218     FIXME( "( 0x%08lx ) stub\n", id );
219
220     return TRUE;
221 }
222
223 BOOL WINAPI SetColorProfileElementReference( HPROFILE profile, TAGTYPE type, TAGTYPE ref )
224 {
225     FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, ref );
226
227     return TRUE;
228 }
229
230 BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD size )
231 {
232     FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, size );
233
234     return FALSE;
235 }
236
237 BOOL WINAPI TranslateBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT input,
238                                  DWORD width, DWORD height, DWORD inputstride, PVOID destbits,
239                                  BMFORMAT output, DWORD outputstride, PBMCALLBACKFN callback,
240                                  ULONG data )
241 {
242     FIXME( "( %p, %p, 0x%08x, 0x%08lx, 0x%08lx, 0x%08lx, %p, 0x%08x, 0x%08lx, %p, 0x%08lx ) stub\n",
243            transform, srcbits, input, width, height, inputstride, destbits, output, outputstride, 
244            callback, data );
245
246     return FALSE;
247 }
248
249 BOOL WINAPI TranslateColors( HTRANSFORM transform, PCOLOR inputcolors, DWORD number,
250                              COLORTYPE input, PCOLOR outputcolors, COLORTYPE output )
251 {
252     FIXME( "( %p, %p, 0x%08lx, 0x%08x, %p, 0x%08x ) stub\n", transform, inputcolors,
253            number, input, outputcolors, output );
254
255     return FALSE;
256 }
257
258 BOOL WINAPI UnregisterCMMA( PCSTR machine, DWORD id )
259 {
260     FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
261
262     return TRUE;
263 }
264
265 BOOL WINAPI UnregisterCMMW( PCWSTR machine, DWORD id )
266 {
267     FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
268
269     return TRUE;
270 }