ReactOS  0.4.14-dev-323-g6fe6a88
stub.c
Go to the documentation of this file.
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 
35 
38  LPARAM data )
39 {
40  FIXME( "( %p, %p, 0x%08x, 0x%08x, 0x%08x, 0x%08x, %p, %p, 0x%08lx ) stub\n",
42 
43  return FALSE;
44 }
45 
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 
55 {
56  FIXME( "( %p, %p, %p, 0x%08x ) stub\n", profile, name, index, count );
57 
58  return FALSE;
59 }
60 
62 {
63  FIXME( "( %p, %p, %p, 0x%08x ) stub\n", profile, index, name, count );
64 
65  return FALSE;
66 }
67 
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 
78 {
79  FIXME( "( %p, %p ) stub\n", space, buffer );
80 
81  return FALSE;
82 }
83 
85 {
86  FIXME( "( %p, %p ) stub\n", space, buffer );
87 
88  return FALSE;
89 }
90 
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 
102 {
103  FIXME( "( %p, 0x%08x ) stub\n", transform, info );
104 
105  return 0;
106 }
107 
109 {
110  FIXME( "( %p, %p ) stub\n", profile, info );
111 
112  return FALSE;
113 }
114 
117 {
118  FIXME( "( %p, 0x%08x, %p, %p, %p ) stub\n", profile, intent, buffer, size, binary );
119 
120  return FALSE;
121 }
122 
124 {
125  FIXME( "( %p, 0x%08x, %p, %p ) stub\n", profile, intent, buffer, size );
126 
127  return FALSE;
128 }
129 
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 
139 {
140  FIXME( "( %p, %s, %p ) stub\n", machine, dbgstr_tag(id), dll );
141 
142  return TRUE;
143 }
144 
146 {
147  FIXME( "( %p, %s, %p ) stub\n", machine, dbgstr_tag(id), dll );
148 
149  return TRUE;
150 }
151 
153 {
154  FIXME( "(%s) stub\n", dbgstr_tag(id) );
155 
156  return TRUE;
157 }
158 
160 {
161  FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, ref );
162 
163  return TRUE;
164 }
165 
167 {
168  FIXME( "( %p, 0x%08x, 0x%08x ) stub\n", profile, type, size );
169 
170  return FALSE;
171 }
172 
174 {
175  FIXME( "( 0x%08x, %p ) stub\n", id, profile );
176  return TRUE;
177 }
178 
180 {
181  FIXME( "( 0x%08x, %p ) stub\n", id, profile );
182  return TRUE;
183 }
184 
186 {
187  FIXME( "( %s, %s, 0x%08x ) stub\n", debugstr_w(printer), debugstr_w(key), event );
188  return TRUE;
189 }
190 
192 {
193  FIXME( "( %p, %s ) stub\n", machine, dbgstr_tag(id) );
194 
195  return TRUE;
196 }
197 
199 {
200  FIXME( "( %p, %s ) stub\n", machine, dbgstr_tag(id) );
201 
202  return TRUE;
203 }
BOOL WINAPI UnregisterCMMA(PCSTR machine, DWORD id)
Definition: stub.c:191
BOOL WINAPI CreateProfileFromLogColorSpaceW(LPLOGCOLORSPACEW space, PBYTE *buffer)
Definition: stub.c:84
BOOL WINAPI GetPS2ColorRenderingIntent(HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size)
Definition: stub.c:123
const uint16_t * PCWSTR
Definition: typedefs.h:55
GLint level
Definition: gl.h:1546
BOOL WINAPI GetPS2ColorSpaceArray(HPROFILE profile, DWORD intent, DWORD type, PBYTE buffer, PDWORD size, PBOOL binary)
Definition: stub.c:130
GLint GLint GLsizei width
Definition: gl.h:1546
#define TRUE
Definition: types.h:120
BOOL WINAPI SelectCMM(DWORD id)
Definition: stub.c:152
#define ERROR_SUCCESS
Definition: deptool.c:10
BOOL WINAPI SpoolerCopyFileEvent(LPWSTR printer, LPWSTR key, DWORD event)
Definition: stub.c:185
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
BOOL WINAPI GetPS2ColorRenderingDictionary(HPROFILE profile, DWORD intent, PBYTE buffer, PDWORD size, PBOOL binary)
Definition: stub.c:115
BOOL WINAPI SetStandardColorSpaceProfileW(PCWSTR machine, DWORD id, PWSTR profile)
Definition: stub.c:179
uint16_t * PWSTR
Definition: typedefs.h:54
GLuint GLuint GLsizei count
Definition: gl.h:1545
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLuint buffer
Definition: glext.h:5915
COLOR_NAME * PCOLOR_NAME
Definition: icm.h:33
BOOL WINAPI CheckBitmapBits(HTRANSFORM transform, PVOID srcbits, BMFORMAT format, DWORD width, DWORD height, DWORD stride, PBYTE result, PBMCALLBACKFN callback, LPARAM data)
Definition: stub.c:36
BOOL WINAPI RegisterCMMA(PCSTR machine, DWORD id, PCSTR dll)
Definition: stub.c:138
BOOL WINAPI CreateDeviceLinkProfile(PHPROFILE profiles, DWORD nprofiles, PDWORD intents, DWORD nintents, DWORD flags, PBYTE *data, DWORD index)
Definition: stub.c:68
Definition: send.c:47
const char * dbgstr_tag(DWORD) DECLSPEC_HIDDEN
Definition: profile.c:58
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
static HMODULE dll
Definition: str.c:188
unsigned char * LPBYTE
Definition: typedefs.h:52
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI RegisterCMMW(PCWSTR machine, DWORD id, PCWSTR dll)
Definition: stub.c:145
static size_t double number
Definition: printf.c:69
DWORD TAGTYPE
Definition: icm.h:30
Definition: icm.h:104
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:110
BOOL WINAPI GetNamedProfileInfo(HPROFILE profile, PNAMED_PROFILE_INFO info)
Definition: stub.c:108
LONG_PTR LPARAM
Definition: windef.h:208
DWORD WINAPI GenerateCopyFilePaths(LPCWSTR printer, LPCWSTR directory, LPBYTE clientinfo, DWORD level, LPWSTR sourcedir, LPDWORD sourcedirsize, LPWSTR targetdir, LPDWORD targetdirsize, DWORD flags)
Definition: stub.c:91
BOOL WINAPI ConvertColorNameToIndex(HPROFILE profile, PCOLOR_NAME name, PDWORD index, DWORD count)
Definition: stub.c:54
GLuint index
Definition: glext.h:6031
BOOL * PBOOL
Definition: windef.h:161
BOOL WINAPI SetColorProfileElementReference(HPROFILE profile, TAGTYPE type, TAGTYPE ref)
Definition: stub.c:159
MmuTrapHandler callback[0x30]
Definition: mmuobject.c:44
GLsizei stride
Definition: glext.h:5848
GLsizeiptr size
Definition: glext.h:5919
BMFORMAT
Definition: icm.h:138
#define WINAPI
Definition: msvc.h:8
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI SetStandardColorSpaceProfileA(PCSTR machine, DWORD id, PSTR profile)
Definition: stub.c:173
BOOL WINAPI ConvertIndexToColorName(HPROFILE profile, PDWORD index, PCOLOR_NAME name, DWORD count)
Definition: stub.c:61
const GLuint GLenum const GLvoid * binary
Definition: glext.h:7538
WINE_DEFAULT_DEBUG_CHANNEL(mscms)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
BOOL WINAPI SetColorProfileElementSize(HPROFILE profile, TAGTYPE type, DWORD size)
Definition: stub.c:166
static const char machine[]
Definition: profile.c:104
struct _cl_event * event
Definition: glext.h:7739
GLint GLint GLsizei GLsizei height
Definition: gl.h:1546
signed char * PSTR
Definition: retypes.h:7
DWORD * PDWORD
Definition: pedump.c:68
BOOL WINAPI CreateProfileFromLogColorSpaceA(LPLOGCOLORSPACEA space, PBYTE *buffer)
Definition: stub.c:77
BOOL WINAPI UnregisterCMMW(PCWSTR machine, DWORD id)
Definition: stub.c:198
Definition: name.c:36
uint32_t * LPDWORD
Definition: typedefs.h:57
GLuint GLenum GLenum transform
Definition: glext.h:9407
#define profile
Definition: kernel32.h:12
const char * PCSTR
Definition: typedefs.h:51
BOOL(CALLBACK * PBMCALLBACKFN)(ULONG, ULONG, LPARAM)
Definition: icm.h:185
WCHAR * LPWSTR
Definition: xmlstorage.h:184
DWORD WINAPI GetCMMInfo(HTRANSFORM transform, DWORD info)
Definition: stub.c:101
GLuint64EXT * result
Definition: glext.h:11304
COLORTYPE
Definition: icm.h:122
BYTE * PBYTE
Definition: pedump.c:66
BOOL WINAPI CheckColors(HTRANSFORM transform, PCOLOR colors, DWORD number, COLORTYPE type, PBYTE result)
Definition: stub.c:46
Definition: path.c:42