wine.inf: We should not override existing associations.
[wine/hacks.git] / dlls / mscms / stub.c
bloba2a1282f998eb339f37479e35ceb5aa576085b6b
1 /*
2 * MSCMS - Color Management System for Wine
4 * Copyright 2004, 2005 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "config.h"
22 #include "wine/debug.h"
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "wingdi.h"
29 #include "winuser.h"
30 #include "icm.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(mscms);
34 BOOL WINAPI AssociateColorProfileWithDeviceA( PCSTR machine, PCSTR profile, PCSTR device )
36 FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
38 return TRUE;
41 BOOL WINAPI AssociateColorProfileWithDeviceW( PCWSTR machine, PCWSTR profile, PCWSTR device )
43 FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
45 return TRUE;
48 BOOL WINAPI CheckBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT format, DWORD width,
49 DWORD height, DWORD stride, PBYTE result, PBMCALLBACKFN callback,
50 LPARAM data )
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 );
55 return FALSE;
58 BOOL WINAPI CheckColors( HTRANSFORM transform, PCOLOR colors, DWORD number, COLORTYPE type,
59 PBYTE result )
61 FIXME( "( %p, %p, 0x%08lx, 0x%08x, %p ) stub\n", transform, colors, number, type, result );
63 return FALSE;
66 BOOL WINAPI ConvertColorNameToIndex( HPROFILE profile, PCOLOR_NAME name, PDWORD index, DWORD count )
68 FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", profile, name, index, count );
70 return FALSE;
73 BOOL WINAPI ConvertIndexToColorName( HPROFILE profile, PDWORD index, PCOLOR_NAME name, DWORD count )
75 FIXME( "( %p, %p, %p, 0x%08lx ) stub\n", profile, index, name, count );
77 return FALSE;
80 BOOL WINAPI CreateDeviceLinkProfile( PHPROFILE profiles, DWORD nprofiles, PDWORD intents,
81 DWORD nintents, DWORD flags, PBYTE *data, DWORD index )
83 FIXME( "( %p, 0x%08lx, %p, 0x%08lx, 0x%08lx, %p, 0x%08lx ) stub\n",
84 profiles, nprofiles, intents, nintents, flags, data, index );
86 return FALSE;
89 BOOL WINAPI CreateProfileFromLogColorSpaceA( LPLOGCOLORSPACEA space, PBYTE *buffer )
91 FIXME( "( %p, %p ) stub\n", space, buffer );
93 return FALSE;
96 BOOL WINAPI CreateProfileFromLogColorSpaceW( LPLOGCOLORSPACEW space, PBYTE *buffer )
98 FIXME( "( %p, %p ) stub\n", space, buffer );
100 return FALSE;
103 BOOL WINAPI DisassociateColorProfileFromDeviceA( PCSTR machine, PCSTR profile, PCSTR device )
105 FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
107 return TRUE;
110 BOOL WINAPI DisassociateColorProfileFromDeviceW( PCWSTR machine, PCWSTR profile, PCWSTR device )
112 FIXME( "( %p, %p, %p ) stub\n", machine, profile, device );
114 return TRUE;
117 DWORD WINAPI GenerateCopyFilePaths( LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo,
118 DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize,
119 LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags )
121 FIXME( "( %s, %s, %p, 0x%08lx, %p, %p, %p, %p, 0x%08lx ) stub\n",
122 debugstr_w(printer), debugstr_w(directory), clientinfo, level, sourcedir,
123 sourcedirsize, targetdir, targetdirsize, flags );
124 return ERROR_SUCCESS;
127 DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
129 FIXME( "( %p, 0x%08lx ) stub\n", transform, info );
131 return 0;
134 BOOL WINAPI GetNamedProfileInfo( HPROFILE profile, PNAMED_PROFILE_INFO info )
136 FIXME( "( %p, %p ) stub\n", profile, info );
138 return FALSE;
141 BOOL WINAPI GetPS2ColorRenderingDictionary( HPROFILE profile, DWORD intent, PBYTE buffer,
142 PDWORD size, PBOOL binary )
144 FIXME( "( %p, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
146 return FALSE;
149 BOOL WINAPI GetPS2ColorRenderingIntent( HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size )
151 FIXME( "( %p, 0x%08lx, %p, %p ) stub\n", profile, intent, buffer, size );
153 return FALSE;
156 BOOL WINAPI GetPS2ColorSpaceArray( HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer,
157 PDWORD size, PBOOL binary )
159 FIXME( "( %p, 0x%08lx, 0x%08lx, %p, %p, %p ) stub\n", profile, intent, type, buffer, size, binary );
161 return FALSE;
164 BOOL WINAPI RegisterCMMA( PCSTR machine, DWORD id, PCSTR dll )
166 FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
168 return TRUE;
171 BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
173 FIXME( "( %p, 0x%08lx, %p ) stub\n", machine, id, dll );
175 return TRUE;
178 BOOL WINAPI SelectCMM( DWORD id )
180 FIXME( "( 0x%08lx ) stub\n", id );
182 return TRUE;
185 BOOL WINAPI SetColorProfileElementReference( HPROFILE profile, TAGTYPE type, TAGTYPE ref )
187 FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, ref );
189 return TRUE;
192 BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD size )
194 FIXME( "( %p, 0x%08lx, 0x%08lx ) stub\n", profile, type, size );
196 return FALSE;
199 BOOL WINAPI SetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile )
201 FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
202 return TRUE;
205 BOOL WINAPI SetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile )
207 FIXME( "( 0x%08lx, %p ) stub\n", id, profile );
208 return TRUE;
211 BOOL WINAPI SpoolerCopyFileEvent( LPWSTR printer, LPWSTR key, DWORD event )
213 FIXME( "( %s, %s, 0x%08lx ) stub\n", debugstr_w(printer), debugstr_w(key), event );
214 return TRUE;
217 BOOL WINAPI TranslateColors( HTRANSFORM transform, PCOLOR inputcolors, DWORD number,
218 COLORTYPE input, PCOLOR outputcolors, COLORTYPE output )
220 FIXME( "( %p, %p, 0x%08lx, 0x%08x, %p, 0x%08x ) stub\n", transform, inputcolors,
221 number, input, outputcolors, output );
223 return FALSE;
226 BOOL WINAPI UnregisterCMMA( PCSTR machine, DWORD id )
228 FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
230 return TRUE;
233 BOOL WINAPI UnregisterCMMW( PCWSTR machine, DWORD id )
235 FIXME( "( %p, 0x%08lx ) stub\n", machine, id );
237 return TRUE;