xref: /reactos/dll/win32/mscms/stub.c (revision 8123ffac)
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 #include "mscms_priv.h"
33 
34 WINE_DEFAULT_DEBUG_CHANNEL(mscms);
35 
CheckBitmapBits(HTRANSFORM transform,PVOID srcbits,BMFORMAT format,DWORD width,DWORD height,DWORD stride,PBYTE result,PBMCALLBACKFN callback,LPARAM data)36 BOOL WINAPI CheckBitmapBits( HTRANSFORM transform, PVOID srcbits, BMFORMAT format, DWORD width,
37                              DWORD height, DWORD stride, PBYTE result, PBMCALLBACKFN callback,
38                              LPARAM data )
39 {
40     FIXME( "( %p, %p, 0x%08x, 0x%08x, 0x%08x, 0x%08x, %p, %p, 0x%08lx ) stub\n",
41            transform, srcbits, format, width, height, stride, result, callback, data );
42 
43     return FALSE;
44 }
45 
CheckColors(HTRANSFORM transform,PCOLOR colors,DWORD number,COLORTYPE type,PBYTE result)46 BOOL WINAPI CheckColors( HTRANSFORM transform, PCOLOR colors, DWORD number, COLORTYPE type,
47                          PBYTE result )
48 {
49     FIXME( "( %p, %p, 0x%08x, 0x%08x, %p ) stub\n", transform, colors, number, type, result );
50 
51     return FALSE;
52 }
53 
ConvertColorNameToIndex(HPROFILE profile,PCOLOR_NAME name,PDWORD index,DWORD count)54 BOOL WINAPI ConvertColorNameToIndex( HPROFILE profile, PCOLOR_NAME name, PDWORD index, DWORD count )
55 {
56     FIXME( "( %p, %p, %p, 0x%08x ) stub\n", profile, name, index, count );
57 
58     return FALSE;
59 }
60 
ConvertIndexToColorName(HPROFILE profile,PDWORD index,PCOLOR_NAME name,DWORD count)61 BOOL WINAPI ConvertIndexToColorName( HPROFILE profile, PDWORD index, PCOLOR_NAME name, DWORD count )
62 {
63     FIXME( "( %p, %p, %p, 0x%08x ) stub\n", profile, index, name, count );
64 
65     return FALSE;
66 }
67 
CreateDeviceLinkProfile(PHPROFILE profiles,DWORD nprofiles,PDWORD intents,DWORD nintents,DWORD flags,PBYTE * data,DWORD index)68 BOOL WINAPI CreateDeviceLinkProfile( PHPROFILE profiles, DWORD nprofiles, PDWORD intents,
69                                      DWORD nintents, DWORD flags, PBYTE *data, DWORD index )
70 {
71     FIXME( "( %p, 0x%08x, %p, 0x%08x, 0x%08x, %p, 0x%08x ) stub\n",
72            profiles, nprofiles, intents, nintents, flags, data, index );
73 
74     return FALSE;
75 }
76 
CreateProfileFromLogColorSpaceA(LPLOGCOLORSPACEA space,PBYTE * buffer)77 BOOL WINAPI CreateProfileFromLogColorSpaceA( LPLOGCOLORSPACEA space, PBYTE *buffer )
78 {
79     FIXME( "( %p, %p ) stub\n", space, buffer );
80 
81     return FALSE;
82 }
83 
CreateProfileFromLogColorSpaceW(LPLOGCOLORSPACEW space,PBYTE * buffer)84 BOOL WINAPI CreateProfileFromLogColorSpaceW( LPLOGCOLORSPACEW space, PBYTE *buffer )
85 {
86     FIXME( "( %p, %p ) stub\n", space, buffer );
87 
88     return FALSE;
89 }
90 
GenerateCopyFilePaths(LPCWSTR printer,LPCWSTR directory,LPBYTE clientinfo,DWORD level,LPWSTR sourcedir,LPDWORD sourcedirsize,LPWSTR targetdir,LPDWORD targetdirsize,DWORD flags)91 DWORD WINAPI GenerateCopyFilePaths( LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo,
92                                     DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize,
93                                     LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags )
94 {
95     FIXME( "( %s, %s, %p, 0x%08x, %p, %p, %p, %p, 0x%08x ) stub\n",
96            debugstr_w(printer), debugstr_w(directory), clientinfo, level, sourcedir,
97            sourcedirsize, targetdir, targetdirsize, flags );
98     return ERROR_SUCCESS;
99 }
100 
GetCMMInfo(HTRANSFORM transform,DWORD info)101 DWORD WINAPI GetCMMInfo( HTRANSFORM transform, DWORD info )
102 {
103     FIXME( "( %p, 0x%08x ) stub\n", transform, info );
104 
105     return 0;
106 }
107 
GetNamedProfileInfo(HPROFILE profile,PNAMED_PROFILE_INFO info)108 BOOL WINAPI GetNamedProfileInfo( HPROFILE profile, PNAMED_PROFILE_INFO info )
109 {
110     FIXME( "( %p, %p ) stub\n", profile, info );
111 
112     return FALSE;
113 }
114 
GetPS2ColorRenderingDictionary(HPROFILE profile,DWORD intent,PBYTE buffer,PDWORD size,PBOOL binary)115 BOOL WINAPI GetPS2ColorRenderingDictionary( HPROFILE profile, DWORD intent, PBYTE buffer,
116                                             PDWORD size, PBOOL binary )
117 {
118     FIXME( "( %p, 0x%08x, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
119 
120     return FALSE;
121 }
122 
GetPS2ColorRenderingIntent(HPROFILE profile,DWORD intent,PBYTE buffer,PDWORD size)123 BOOL WINAPI GetPS2ColorRenderingIntent( HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size )
124 {
125     FIXME( "( %p, 0x%08x, %p, %p ) stub\n", profile, intent, buffer, size );
126 
127     return FALSE;
128 }
129 
GetPS2ColorSpaceArray(HPROFILE profile,DWORD intent,DWORD type,PBYTE buffer,PDWORD size,PBOOL binary)130 BOOL WINAPI GetPS2ColorSpaceArray( HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer,
131                                    PDWORD size, PBOOL binary )
132 {
133     FIXME( "( %p, 0x%08x, 0x%08x, %p, %p, %p ) stub\n", profile, intent, type, buffer, size, binary );
134 
135     return FALSE;
136 }
137 
RegisterCMMA(PCSTR machine,DWORD id,PCSTR dll)138 BOOL WINAPI RegisterCMMA( PCSTR machine, DWORD id, PCSTR dll )
139 {
140     FIXME( "( %p, %s, %p ) stub\n", machine, dbgstr_tag(id), dll );
141 
142     return TRUE;
143 }
144 
RegisterCMMW(PCWSTR machine,DWORD id,PCWSTR dll)145 BOOL WINAPI RegisterCMMW( PCWSTR machine, DWORD id, PCWSTR dll )
146 {
147     FIXME( "( %p, %s, %p ) stub\n", machine, dbgstr_tag(id), dll );
148 
149     return TRUE;
150 }
151 
SelectCMM(DWORD id)152 BOOL WINAPI SelectCMM( DWORD id )
153 {
154     FIXME( "(%s) stub\n", dbgstr_tag(id) );
155 
156     return TRUE;
157 }
158 
SetColorProfileElementReference(HPROFILE profile,TAGTYPE type,TAGTYPE ref)159 BOOL WINAPI SetColorProfileElementReference( HPROFILE profile, TAGTYPE type, TAGTYPE ref )
160 {
161     FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, ref );
162 
163     return TRUE;
164 }
165 
SetColorProfileElementSize(HPROFILE profile,TAGTYPE type,DWORD size)166 BOOL WINAPI SetColorProfileElementSize( HPROFILE profile, TAGTYPE type, DWORD size )
167 {
168     FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, size );
169 
170     return FALSE;
171 }
172 
SetStandardColorSpaceProfileA(PCSTR machine,DWORD id,PSTR profile)173 BOOL WINAPI SetStandardColorSpaceProfileA( PCSTR machine, DWORD id, PSTR profile )
174 {
175     FIXME( "( 0x%08x, %p ) stub\n", id, profile );
176     return TRUE;
177 }
178 
SetStandardColorSpaceProfileW(PCWSTR machine,DWORD id,PWSTR profile)179 BOOL WINAPI SetStandardColorSpaceProfileW( PCWSTR machine, DWORD id, PWSTR profile )
180 {
181     FIXME( "( 0x%08x, %p ) stub\n", id, profile );
182     return TRUE;
183 }
184 
SpoolerCopyFileEvent(LPWSTR printer,LPWSTR key,DWORD event)185 BOOL WINAPI SpoolerCopyFileEvent( LPWSTR printer, LPWSTR key, DWORD event )
186 {
187     FIXME( "( %s, %s, 0x%08x ) stub\n", debugstr_w(printer), debugstr_w(key), event );
188     return TRUE;
189 }
190 
UnregisterCMMA(PCSTR machine,DWORD id)191 BOOL WINAPI UnregisterCMMA( PCSTR machine, DWORD id )
192 {
193     FIXME( "( %p, %s ) stub\n", machine, dbgstr_tag(id) );
194 
195     return TRUE;
196 }
197 
UnregisterCMMW(PCWSTR machine,DWORD id)198 BOOL WINAPI UnregisterCMMW( PCWSTR machine, DWORD id )
199 {
200     FIXME( "( %p, %s ) stub\n", machine, dbgstr_tag(id) );
201 
202     return TRUE;
203 }
204