Implements OleLoadPicturePath.
[wine] / dlls / mscms / stub.c
1 /*
2  * MSCMS - Color Management System for Wine
3  *
4  * Copyright 2004, 2005 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 BOOL WINAPI CreateDeviceLinkProfile( PHPROFILE profiles, DWORD nprofiles, PDWORD intents,
81                                      DWORD nintents, DWORD flags, PBYTE *data, DWORD index )
82 {
83     FIXME( "( %p, 0x%08lx, %p, 0x%08lx, 0x%08lx, %p, 0x%08lx ) stub\n",
84            profiles, nprofiles, intents, nintents, flags, data, index );
85
86     return FALSE;
87 }
88
89 BOOL WINAPI CreateProfileFromLogColorSpaceA( LPLOGCOLORSPACEA space, PBYTE *buffer )
90 {
91     FIXME( "( %p, %p ) stub\n", space, buffer );
92
93     return FALSE;
94 }
95
96 BOOL WINAPI CreateProfileFromLogColorSpaceW( LPLOGCOLORSPACEW space, PBYTE *buffer )
97 {
98     FIXME( "( %p, %p ) stub\n", space, buffer );
99
100     return FALSE;
101 }
102
103 BOOL WINAPI DisassociateColorProfileFromDeviceA( PCSTR machine, PCSTR profile, PCSTR device )
104 {
105     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
106
107     return TRUE;
108 }
109
110 BOOL WINAPI DisassociateColorProfileFromDeviceW( PCWSTR machine, PCWSTR profile, PCWSTR device )
111 {
112     FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
113
114     return TRUE;
115 }
116
117 BOOL WINAPI EnumColorProfilesA( PCSTR machine, PENUMTYPEA record, PBYTE buffer, PDWORD size,
118                                 PDWORD number )
119 {
120     FIXME( "( %p, %p, %p, %p, %p ) stub\n", machine, record, buffer, size, number );
121
122     return FALSE;
123 }
124
125 BOOL WINAPI EnumColorProfilesW( PCWSTR machine, PENUMTYPEW record, PBYTE buffer, PDWORD size,
126                                 PDWORD number )
127 {
128     FIXME( "( %p, %p, %p, %p, %p ) stub\n", machine, record, buffer, size, number );
129
130     return FALSE;
131 }
132
133 DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
134 {
135     FIXME( "( %p, 0x%08lx ) stub\n", transform, info );
136
137     return 0;
138 }
139
140 BOOL WINAPI GetNamedProfileInfo( HPROFILE profile, PNAMED_PROFILE_INFO info )
141 {
142     FIXME( "( %p, %p ) stub\n", profile, info );
143
144     return FALSE;
145 }
146
147 BOOL WINAPI GetPS2ColorRenderingDictionary( HPROFILE profile, DWORD intent, PBYTE buffer,
148                                             PDWORD size, PBOOL binary )
149 {
150     FIXME( "( %p, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
151
152     return FALSE;
153 }
154
155 BOOL WINAPI GetPS2ColorRenderingIntent( HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size )
156 {
157     FIXME( "( %p, 0x%08lx, %p, %p ) stub\n", profile, intent, buffer, size );
158
159     return FALSE;
160 }
161
162 BOOL WINAPI GetPS2ColorSpaceArray( HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer,
163                                    PDWORD size, PBOOL binary )
164 {
165     FIXME( "( %p, 0x%08lx, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, type, buffer, size, binary );
166
167     return FALSE;
168 }
169
170 BOOL WINAPI RegisterCMMA( PCSTR machine, DWORD id, PCSTR dll )
171 {
172     FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
173
174     return TRUE;
175 }
176
177 BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
178 {
179     FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
180
181     return TRUE;
182 }
183
184 BOOL WINAPI SelectCMM( DWORD id )
185 {
186     FIXME( "( 0x%08lx ) stub\n", id );
187
188     return TRUE;
189 }
190
191 BOOL WINAPI SetColorProfileElementReference( HPROFILE profile, TAGTYPE type, TAGTYPE ref )
192 {
193     FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, ref );
194
195     return TRUE;
196 }
197
198 BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD size )
199 {
200     FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, size );
201
202     return FALSE;
203 }
204
205 BOOL WINAPI TranslateBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT input,
206                                  DWORD width, DWORD height, DWORD inputstride, PVOID destbits,
207                                  BMFORMAT output, DWORD outputstride, PBMCALLBACKFN callback,
208                                  ULONG data )
209 {
210     FIXME( "( %p, %p, 0x%08x, 0x%08lx, 0x%08lx, 0x%08lx, %p, 0x%08x, 0x%08lx, %p, 0x%08lx ) stub\n",
211            transform, srcbits, input, width, height, inputstride, destbits, output, outputstride, 
212            callback, data );
213
214     return FALSE;
215 }
216
217 BOOL WINAPI TranslateColors( HTRANSFORM transform, PCOLOR inputcolors, DWORD number,
218                              COLORTYPE input, PCOLOR outputcolors, COLORTYPE output )
219 {
220     FIXME( "( %p, %p, 0x%08lx, 0x%08x, %p, 0x%08x ) stub\n", transform, inputcolors,
221            number, input, outputcolors, output );
222
223     return FALSE;
224 }
225
226 BOOL WINAPI UnregisterCMMA( PCSTR machine, DWORD id )
227 {
228     FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
229
230     return TRUE;
231 }
232
233 BOOL WINAPI UnregisterCMMW( PCWSTR machine, DWORD id )
234 {
235     FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
236
237     return TRUE;
238 }