kernel32: Add SYNCHRONIZE access to mailslot handles.
[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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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%08x, 0x%08x, 0x%08x, %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%08x, 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%08x ) 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%08x ) 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%08x, %p, 0x%08x, 0x%08x, %p, 0x%08x ) 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 DWORD WINAPI GenerateCopyFilePaths( LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo,
118                                     DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize,
119                                     LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags )
120 {
121     FIXME( "( %s, %s, %p, 0x%08x, %p, %p, %p, %p, 0x%08x ) stub\n",
122            debugstr_w(printer), debugstr_w(directory), clientinfo, level, sourcedir,
123            sourcedirsize, targetdir, targetdirsize, flags );
124     return ERROR_SUCCESS;
125 }
126
127 DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
128 {
129     FIXME( "( %p, 0x%08x ) stub\n", transform, info );
130
131     return 0;
132 }
133
134 BOOL WINAPI GetNamedProfileInfo( HPROFILE profile, PNAMED_PROFILE_INFO info )
135 {
136     FIXME( "( %p, %p ) stub\n", profile, info );
137
138     return FALSE;
139 }
140
141 BOOL WINAPI GetPS2ColorRenderingDictionary( HPROFILE profile, DWORD intent, PBYTE buffer,
142                                             PDWORD size, PBOOL binary )
143 {
144     FIXME( "( %p, 0x%08x, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
145
146     return FALSE;
147 }
148
149 BOOL WINAPI GetPS2ColorRenderingIntent( HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size )
150 {
151     FIXME( "( %p, 0x%08x, %p, %p ) stub\n", profile, intent, buffer, size );
152
153     return FALSE;
154 }
155
156 BOOL WINAPI GetPS2ColorSpaceArray( HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer,
157                                    PDWORD size, PBOOL binary )
158 {
159     FIXME( "( %p, 0x%08x, 0x%08x, %p, %p, %p ) stub\n", profile, intent, type, buffer, size, binary );
160
161     return FALSE;
162 }
163
164 BOOL WINAPI RegisterCMMA( PCSTR machine, DWORD id, PCSTR dll )
165 {
166     FIXME( "( %p, 0x%08x, %p ) stub\n", machine, id, dll );
167
168     return TRUE;
169 }
170
171 BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
172 {
173     FIXME( "( %p, 0x%08x, %p ) stub\n", machine, id, dll );
174
175     return TRUE;
176 }
177
178 BOOL WINAPI SelectCMM( DWORD id )
179 {
180     FIXME( "( 0x%08x ) stub\n", id );
181
182     return TRUE;
183 }
184
185 BOOL WINAPI SetColorProfileElementReference( HPROFILE profile, TAGTYPE type, TAGTYPE ref )
186 {
187     FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, ref );
188
189     return TRUE;
190 }
191
192 BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD size )
193 {
194     FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, size );
195
196     return FALSE;
197 }
198
199 BOOL WINAPI SetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile )
200 {
201     FIXME( "( 0x%08x, %p ) stub\n", id, profile );
202     return TRUE;
203 }
204
205 BOOL WINAPI SetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile )
206 {
207     FIXME( "( 0x%08x, %p ) stub\n", id, profile );
208     return TRUE;
209 }
210
211 BOOL WINAPI SpoolerCopyFileEvent( LPWSTR printer, LPWSTR key, DWORD event )
212 {
213     FIXME( "( %s, %s, 0x%08x ) stub\n", debugstr_w(printer), debugstr_w(key), event );
214     return TRUE;
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%08x, 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%08x ) stub\n", machine, id );
229
230     return TRUE;
231 }
232
233 BOOL WINAPI UnregisterCMMW( PCWSTR machine, DWORD id )
234 {
235     FIXME( "( %p, 0x%08x ) stub\n", machine, id );
236
237     return TRUE;
238 }