1 | /*
|
---|
2 | * Copyright 2004 (C) Mike McCormack
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_ICM_H
|
---|
29 | #define __WINE_ICM_H
|
---|
30 |
|
---|
31 | #ifdef __cplusplus
|
---|
32 | extern "C" {
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | typedef HANDLE HPROFILE;
|
---|
36 | typedef HPROFILE *PHPROFILE;
|
---|
37 | typedef HANDLE HTRANSFORM;
|
---|
38 |
|
---|
39 | typedef DWORD TAGTYPE, *PTAGTYPE, *LPTAGTYPE;
|
---|
40 |
|
---|
41 | typedef char COLOR_NAME[32];
|
---|
42 | typedef COLOR_NAME *PCOLOR_NAME, *LPCOLOR_NAME;
|
---|
43 |
|
---|
44 | typedef struct tagNAMED_PROFILE_INFO
|
---|
45 | {
|
---|
46 | DWORD dwFlags;
|
---|
47 | DWORD dwCount;
|
---|
48 | DWORD dwCountDevCoordinates;
|
---|
49 | COLOR_NAME szPrefix;
|
---|
50 | COLOR_NAME szSuffix;
|
---|
51 | } NAMED_PROFILE_INFO, *PNAMED_PROFILE_INFO, *LPNAMED_PROFILE_INFO;
|
---|
52 |
|
---|
53 | #define MAX_COLOR_CHANNELS 8
|
---|
54 |
|
---|
55 | struct GRAYCOLOR
|
---|
56 | {
|
---|
57 | WORD gray;
|
---|
58 | };
|
---|
59 |
|
---|
60 | struct RGBCOLOR
|
---|
61 | {
|
---|
62 | WORD red;
|
---|
63 | WORD green;
|
---|
64 | WORD blue;
|
---|
65 | };
|
---|
66 |
|
---|
67 | struct CMYKCOLOR
|
---|
68 | {
|
---|
69 | WORD cyan;
|
---|
70 | WORD magenta;
|
---|
71 | WORD yellow;
|
---|
72 | WORD black;
|
---|
73 | };
|
---|
74 |
|
---|
75 | struct XYZCOLOR
|
---|
76 | {
|
---|
77 | WORD X;
|
---|
78 | WORD Y;
|
---|
79 | WORD Z;
|
---|
80 | };
|
---|
81 |
|
---|
82 | struct YxyCOLOR
|
---|
83 | {
|
---|
84 | WORD Y;
|
---|
85 | WORD x;
|
---|
86 | WORD y;
|
---|
87 | };
|
---|
88 |
|
---|
89 | struct LabCOLOR
|
---|
90 | {
|
---|
91 | WORD L;
|
---|
92 | WORD a;
|
---|
93 | WORD b;
|
---|
94 | };
|
---|
95 |
|
---|
96 | struct GENERIC3CHANNEL
|
---|
97 | {
|
---|
98 | WORD ch1;
|
---|
99 | WORD ch2;
|
---|
100 | WORD ch3;
|
---|
101 | };
|
---|
102 |
|
---|
103 | struct NAMEDCOLOR
|
---|
104 | {
|
---|
105 | DWORD dwIndex;
|
---|
106 | };
|
---|
107 |
|
---|
108 | struct HiFiCOLOR
|
---|
109 | {
|
---|
110 | BYTE channel[MAX_COLOR_CHANNELS];
|
---|
111 | };
|
---|
112 |
|
---|
113 | typedef union tagCOLOR
|
---|
114 | {
|
---|
115 | struct GRAYCOLOR gray;
|
---|
116 | struct RGBCOLOR rgb;
|
---|
117 | struct CMYKCOLOR cmyk;
|
---|
118 | struct XYZCOLOR XYZ;
|
---|
119 | struct YxyCOLOR Yxy;
|
---|
120 | struct LabCOLOR Lab;
|
---|
121 | struct GENERIC3CHANNEL gen3ch;
|
---|
122 | struct NAMEDCOLOR named;
|
---|
123 | struct HiFiCOLOR hifi;
|
---|
124 | struct
|
---|
125 | {
|
---|
126 | DWORD reserved1;
|
---|
127 | VOID *reserved2;
|
---|
128 | } DUMMYSTRUCTNAME;
|
---|
129 | } COLOR, *PCOLOR, *LPCOLOR;
|
---|
130 |
|
---|
131 | typedef enum
|
---|
132 | {
|
---|
133 | COLOR_GRAY = 1,
|
---|
134 | COLOR_RGB,
|
---|
135 | COLOR_XYZ,
|
---|
136 | COLOR_Yxy,
|
---|
137 | COLOR_Lab,
|
---|
138 | COLOR_3_CHANNEL,
|
---|
139 | COLOR_CMYK,
|
---|
140 | COLOR_5_CHANNEL,
|
---|
141 | COLOR_6_CHANNEL,
|
---|
142 | COLOR_7_CHANNEL,
|
---|
143 | COLOR_8_CHANNEL,
|
---|
144 | COLOR_NAMED,
|
---|
145 | } COLORTYPE, *PCOLORTYPE, *LPCOLORTYPE;
|
---|
146 |
|
---|
147 | typedef enum
|
---|
148 | {
|
---|
149 | BM_x555RGB = 0x00,
|
---|
150 | BM_565RGB = 0x01,
|
---|
151 | BM_RGBTRIPLETS = 0x02,
|
---|
152 | BM_BGRTRIPLETS = 0x04,
|
---|
153 | BM_xRGBQUADS = 0x08,
|
---|
154 | BM_10b_RGB = 0x09,
|
---|
155 | BM_16b_RGB = 0x0a,
|
---|
156 | BM_xBGRQUADS = 0x10,
|
---|
157 | BM_CMYKQUADS = 0x20,
|
---|
158 | BM_x555XYZ = 0x101,
|
---|
159 | BM_x555Yxz,
|
---|
160 | BM_x555Lab,
|
---|
161 | BM_x555G3CH,
|
---|
162 | BM_XYZTRIPLETS = 0x201,
|
---|
163 | BM_YxyTRIPLETS,
|
---|
164 | BM_LabTRIPLETS,
|
---|
165 | BM_G3CHTRIPLETS,
|
---|
166 | BM_5CHANNEL,
|
---|
167 | BM_6CHANNEL,
|
---|
168 | BM_7CHANNEL,
|
---|
169 | BM_8CHANNEL,
|
---|
170 | BM_GRAY,
|
---|
171 | BM_xXYZQUADS = 0x301,
|
---|
172 | BM_xYxyQUADS,
|
---|
173 | BM_xLabQUADS,
|
---|
174 | BM_xG3CHQUADS,
|
---|
175 | BM_KYMCQUADS,
|
---|
176 | BM_10b_XYZ = 0x401,
|
---|
177 | BM_10b_Yxy,
|
---|
178 | BM_10b_Lab,
|
---|
179 | BM_10b_G3CH,
|
---|
180 | BM_NAMED_INDEX,
|
---|
181 | BM_16b_XYZ = 0x501,
|
---|
182 | BM_16b_Yxy,
|
---|
183 | BM_16b_Lab,
|
---|
184 | BM_16b_G3CH,
|
---|
185 | BM_16b_GRAY,
|
---|
186 | } BMFORMAT, *PBMFORMAT, *LPBMFORMAT;
|
---|
187 |
|
---|
188 | typedef BOOL (CALLBACK *PBMCALLBACKFN)(ULONG,ULONG,LPARAM);
|
---|
189 | typedef PBMCALLBACKFN LPPBMCALLBACKFN;
|
---|
190 |
|
---|
191 | #define INTENT_PERCEPTUAL 0
|
---|
192 | #define INTENT_RELATIVE_COLORIMETRIC 1
|
---|
193 | #define INTENT_SATURATION 2
|
---|
194 | #define INTENT_ABSOLUTE_COLORIMETRIC 3
|
---|
195 |
|
---|
196 | typedef struct tagPROFILEHEADER
|
---|
197 | {
|
---|
198 | DWORD phSize;
|
---|
199 | DWORD phCMMType;
|
---|
200 | DWORD phVersion;
|
---|
201 | DWORD phClass;
|
---|
202 | DWORD phDataColorSpace;
|
---|
203 | DWORD phConnectionSpace;
|
---|
204 | DWORD phDateTime[3];
|
---|
205 | DWORD phSignature;
|
---|
206 | DWORD phPlatform;
|
---|
207 | DWORD phProfileFlags;
|
---|
208 | DWORD phManufacturer;
|
---|
209 | DWORD phModel;
|
---|
210 | DWORD phAttributes[2];
|
---|
211 | DWORD phRenderingIntent;
|
---|
212 | CIEXYZ phIlluminant;
|
---|
213 | DWORD phCreator;
|
---|
214 | BYTE phReserved[44];
|
---|
215 | } PROFILEHEADER, *PPROFILEHEADER, *LPPROFILEHEADER;
|
---|
216 |
|
---|
217 | typedef struct tagPROFILE
|
---|
218 | {
|
---|
219 | DWORD dwType;
|
---|
220 | PVOID pProfileData;
|
---|
221 | DWORD cbDataSize;
|
---|
222 | } PROFILE, *PPROFILE, *LPPROFILE;
|
---|
223 |
|
---|
224 | #define ENUM_TYPE_VERSION 0x0300
|
---|
225 |
|
---|
226 | typedef struct tagENUMTYPEA
|
---|
227 | {
|
---|
228 | DWORD dwSize;
|
---|
229 | DWORD dwVersion;
|
---|
230 | DWORD dwFields;
|
---|
231 | PCSTR pDeviceName;
|
---|
232 | DWORD dwMediaType;
|
---|
233 | DWORD dwDitheringMode;
|
---|
234 | DWORD dwResolution[2];
|
---|
235 | DWORD dwCMMType;
|
---|
236 | DWORD dwClass;
|
---|
237 | DWORD dwDataColorSpace;
|
---|
238 | DWORD dwConnectionSpace;
|
---|
239 | DWORD dwSignature;
|
---|
240 | DWORD dwPlatform;
|
---|
241 | DWORD dwProfileFlags;
|
---|
242 | DWORD dwManufacturer;
|
---|
243 | DWORD dwModel;
|
---|
244 | DWORD dwAttributes[2];
|
---|
245 | DWORD dwRenderingIntent;
|
---|
246 | DWORD dwCreator;
|
---|
247 | DWORD dwDeviceClass;
|
---|
248 | } ENUMTYPEA, *PENUMTYPEA, *LPENUMTYPEA;
|
---|
249 |
|
---|
250 | typedef struct tagENUMTYPEW
|
---|
251 | {
|
---|
252 | DWORD dwSize;
|
---|
253 | DWORD dwVersion;
|
---|
254 | DWORD dwFields;
|
---|
255 | PCWSTR pDeviceName;
|
---|
256 | DWORD dwMediaType;
|
---|
257 | DWORD dwDitheringMode;
|
---|
258 | DWORD dwResolution[2];
|
---|
259 | DWORD dwCMMType;
|
---|
260 | DWORD dwClass;
|
---|
261 | DWORD dwDataColorSpace;
|
---|
262 | DWORD dwConnectionSpace;
|
---|
263 | DWORD dwSignature;
|
---|
264 | DWORD dwPlatform;
|
---|
265 | DWORD dwProfileFlags;
|
---|
266 | DWORD dwManufacturer;
|
---|
267 | DWORD dwModel;
|
---|
268 | DWORD dwAttributes[2];
|
---|
269 | DWORD dwRenderingIntent;
|
---|
270 | DWORD dwCreator;
|
---|
271 | DWORD dwDeviceClass;
|
---|
272 | } ENUMTYPEW, *PENUMTYPEW, *LPENUMTYPEW;
|
---|
273 |
|
---|
274 | #define ET_DEVICENAME 0x00000001
|
---|
275 | #define ET_MEDIATYPE 0x00000002
|
---|
276 | #define ET_DITHERMODE 0x00000004
|
---|
277 | #define ET_RESOLUTION 0x00000008
|
---|
278 | #define ET_CMMTYPE 0x00000010
|
---|
279 | #define ET_CLASS 0x00000020
|
---|
280 | #define ET_DATACOLORSPACE 0x00000040
|
---|
281 | #define ET_CONNECTIONSPACE 0x00000080
|
---|
282 | #define ET_SIGNATURE 0x00000100
|
---|
283 | #define ET_PLATFORM 0x00000200
|
---|
284 | #define ET_PROFILEFLAGS 0x00000400
|
---|
285 | #define ET_MANUFACTURER 0x00000800
|
---|
286 | #define ET_MODEL 0x00001000
|
---|
287 | #define ET_ATTRIBUTES 0x00002000
|
---|
288 | #define ET_RENDERINGINTENT 0x00004000
|
---|
289 | #define ET_CREATOR 0x00008000
|
---|
290 | #define ET_DEVICECLASS 0x00010000
|
---|
291 |
|
---|
292 | struct _tagCOLORMATCHSETUPA;
|
---|
293 | struct _tagCOLORMATCHSETUPW;
|
---|
294 |
|
---|
295 | typedef BOOL (WINAPI *PCMSCALLBACKA)(struct _tagCOLORMATCHSETUPA*,LPARAM);
|
---|
296 | typedef BOOL (WINAPI *PCMSCALLBACKW)(struct _tagCOLORMATCHSETUPW*,LPARAM);
|
---|
297 |
|
---|
298 | typedef struct _tagCOLORMATCHSETUPA
|
---|
299 | {
|
---|
300 | DWORD dwSize;
|
---|
301 | DWORD dwVersion;
|
---|
302 | DWORD dwFlags;
|
---|
303 | HWND hwndOwner;
|
---|
304 | PCSTR pSourceName;
|
---|
305 | PCSTR pDisplayName;
|
---|
306 | PCSTR pPrinterName;
|
---|
307 | DWORD dwRenderIntent;
|
---|
308 | DWORD dwProofingIntent;
|
---|
309 | PSTR pMonitorProfile;
|
---|
310 | DWORD ccMonitorProfile;
|
---|
311 | PSTR pPrinterProfile;
|
---|
312 | DWORD ccPrinterProfile;
|
---|
313 | PSTR pTargetProfile;
|
---|
314 | DWORD ccTargetProfile;
|
---|
315 | DLGPROC lpfnHook;
|
---|
316 | LPARAM lParam;
|
---|
317 | PCMSCALLBACKA lpfnApplyCallback;
|
---|
318 | LPARAM lParamApplyCallback;
|
---|
319 | } COLORMATCHSETUPA, *PCOLORMATCHSETUPA, *LPCOLORMATCHSETUPA;
|
---|
320 |
|
---|
321 | typedef struct _tagCOLORMATCHSETUPW
|
---|
322 | {
|
---|
323 | DWORD dwSize;
|
---|
324 | DWORD dwVersion;
|
---|
325 | DWORD dwFlags;
|
---|
326 | HWND hwndOwner;
|
---|
327 | PCWSTR pSourceName;
|
---|
328 | PCWSTR pDisplayName;
|
---|
329 | PCWSTR pPrinterName;
|
---|
330 | DWORD dwRenderIntent;
|
---|
331 | DWORD dwProofingIntent;
|
---|
332 | PWSTR pMonitorProfile;
|
---|
333 | DWORD ccMonitorProfile;
|
---|
334 | PWSTR pPrinterProfile;
|
---|
335 | DWORD ccPrinterProfile;
|
---|
336 | PWSTR pTargetProfile;
|
---|
337 | DWORD ccTargetProfile;
|
---|
338 | DLGPROC lpfnHook;
|
---|
339 | LPARAM lParam;
|
---|
340 | PCMSCALLBACKW lpfnApplyCallback;
|
---|
341 | LPARAM lParamApplyCallback;
|
---|
342 | } COLORMATCHSETUPW, *PCOLORMATCHSETUPW, *LPCOLORMATCHSETUPW;
|
---|
343 |
|
---|
344 | BOOL WINAPI AssociateColorProfileWithDeviceA(PCSTR,PCSTR,PCSTR);
|
---|
345 | BOOL WINAPI AssociateColorProfileWithDeviceW(PCWSTR,PCWSTR,PCWSTR);
|
---|
346 | #define AssociateColorProfileWithDevice WINELIB_NAME_AW(AssociateColorProfileWithDevice)
|
---|
347 | BOOL WINAPI CheckBitmapBits(HTRANSFORM,PVOID,BMFORMAT,DWORD,DWORD,DWORD,PBYTE,PBMCALLBACKFN,LPARAM);
|
---|
348 | BOOL WINAPI CheckColors(HTRANSFORM,PCOLOR,DWORD,COLORTYPE,PBYTE);
|
---|
349 | BOOL WINAPI ConvertColorNameToIndex(HPROFILE,PCOLOR_NAME,PDWORD,DWORD);
|
---|
350 | BOOL WINAPI ConvertIndexToColorName(HPROFILE,PDWORD,PCOLOR_NAME,DWORD);
|
---|
351 | BOOL WINAPI CloseColorProfile(HPROFILE);
|
---|
352 | HTRANSFORM WINAPI CreateColorTransformA(LPLOGCOLORSPACEA,HPROFILE,HPROFILE,DWORD);
|
---|
353 | HTRANSFORM WINAPI CreateColorTransformW(LPLOGCOLORSPACEW,HPROFILE,HPROFILE,DWORD);
|
---|
354 | #define CreateColorTransform WINELIB_NAME_AW(CreateColorTransform)
|
---|
355 | BOOL WINAPI CreateDeviceLinkProfile(PHPROFILE,DWORD,PDWORD,DWORD,DWORD,PBYTE*,DWORD);
|
---|
356 | HTRANSFORM WINAPI CreateMultiProfileTransform(PHPROFILE,DWORD,PDWORD,DWORD,DWORD,DWORD);
|
---|
357 | BOOL WINAPI CreateProfileFromLogColorSpaceA(LPLOGCOLORSPACEA,PBYTE*);
|
---|
358 | BOOL WINAPI CreateProfileFromLogColorSpaceW(LPLOGCOLORSPACEW,PBYTE*);
|
---|
359 | #define CreateProfileFromLogColorSpace WINELIB_NAME_AW(CreateProfileFromLogColorSpace)
|
---|
360 | BOOL WINAPI DeleteColorTransform(HTRANSFORM);
|
---|
361 | BOOL WINAPI DisassociateColorProfileFromDeviceA(PCSTR,PCSTR,PCSTR);
|
---|
362 | BOOL WINAPI DisassociateColorProfileFromDeviceW(PCWSTR,PCWSTR,PCWSTR);
|
---|
363 | #define DisassociateColorProfileFromDevice WINELIB_NAME_AW(DisassociateColorProfileFromDevice)
|
---|
364 | BOOL WINAPI EnumColorProfilesA(PCSTR,PENUMTYPEA,PBYTE,PDWORD,PDWORD);
|
---|
365 | BOOL WINAPI EnumColorProfilesW(PCWSTR,PENUMTYPEW,PBYTE,PDWORD,PDWORD);
|
---|
366 | #define EnumColorProfiles WINELIB_NAME_AW(EnumColorProfiles)
|
---|
367 | DWORD WINAPI GenerateCopyFilePaths(LPCWSTR,LPCWSTR,LPBYTE,DWORD,LPWSTR,LPDWORD,LPWSTR,LPDWORD,DWORD);
|
---|
368 | DWORD WINAPI GetCMMInfo(HTRANSFORM,DWORD);
|
---|
369 | BOOL WINAPI GetColorDirectoryA(PCSTR,PSTR,PDWORD);
|
---|
370 | BOOL WINAPI GetColorDirectoryW(PCWSTR,PWSTR,PDWORD);
|
---|
371 | #define GetColorDirectory WINELIB_NAME_AW(GetColorDirectory)
|
---|
372 | BOOL WINAPI GetColorProfileElement(HPROFILE,TAGTYPE,DWORD,PDWORD,PVOID,PBOOL);
|
---|
373 | BOOL WINAPI GetColorProfileElementTag(HPROFILE,DWORD,PTAGTYPE);
|
---|
374 | BOOL WINAPI GetColorProfileFromHandle(HPROFILE,PBYTE,PDWORD);
|
---|
375 | BOOL WINAPI GetColorProfileHeader(HPROFILE,PPROFILEHEADER);
|
---|
376 | BOOL WINAPI GetCountColorProfileElements(HPROFILE,PDWORD);
|
---|
377 | BOOL WINAPI GetNamedProfileInfo(HPROFILE,PNAMED_PROFILE_INFO);
|
---|
378 | BOOL WINAPI GetPS2ColorRenderingDictionary(HPROFILE,DWORD,PBYTE,PDWORD,PBOOL);
|
---|
379 | BOOL WINAPI GetPS2ColorRenderingIntent(HPROFILE,DWORD,PBYTE,PDWORD);
|
---|
380 | BOOL WINAPI GetPS2ColorSpaceArray(HPROFILE,DWORD,DWORD,PBYTE,PDWORD,PBOOL);
|
---|
381 | BOOL WINAPI GetStandardColorSpaceProfileA(PCSTR,DWORD,PSTR,PDWORD);
|
---|
382 | BOOL WINAPI GetStandardColorSpaceProfileW(PCWSTR,DWORD,PWSTR,PDWORD);
|
---|
383 | #define GetStandardColorSpaceProfile WINELIB_NAME_AW(GetStandardColorSpaceProfile)
|
---|
384 | BOOL WINAPI InstallColorProfileA(PCSTR,PCSTR);
|
---|
385 | BOOL WINAPI InstallColorProfileW(PCWSTR,PCWSTR);
|
---|
386 | #define InstallColorProfile WINELIB_NAME_AW(InstallColorProfile)
|
---|
387 | BOOL WINAPI IsColorProfileTagPresent(HPROFILE,TAGTYPE,PBOOL);
|
---|
388 | BOOL WINAPI IsColorProfileValid(HPROFILE,PBOOL);
|
---|
389 | HPROFILE WINAPI OpenColorProfileA(PPROFILE,DWORD,DWORD,DWORD);
|
---|
390 | HPROFILE WINAPI OpenColorProfileW(PPROFILE,DWORD,DWORD,DWORD);
|
---|
391 | #define OpenColorProfile WINELIB_NAME_AW(OpenColorProfile)
|
---|
392 | BOOL WINAPI RegisterCMMA(PCSTR,DWORD,PCSTR);
|
---|
393 | BOOL WINAPI RegisterCMMW(PCWSTR,DWORD,PCWSTR);
|
---|
394 | #define RegisterCMM WINELIB_NAME_AW(RegisterCMM)
|
---|
395 | BOOL WINAPI SelectCMM(DWORD id);
|
---|
396 | BOOL WINAPI SetColorProfileElement(HPROFILE,TAGTYPE,DWORD,PDWORD,PVOID);
|
---|
397 | BOOL WINAPI SetColorProfileElementReference(HPROFILE,TAGTYPE,TAGTYPE);
|
---|
398 | BOOL WINAPI SetColorProfileElementSize(HPROFILE,TAGTYPE,DWORD);
|
---|
399 | BOOL WINAPI SetColorProfileHeader(HPROFILE,PPROFILEHEADER);
|
---|
400 | BOOL WINAPI SetStandardColorSpaceProfileA(PCSTR,DWORD,PSTR);
|
---|
401 | BOOL WINAPI SetStandardColorSpaceProfileW(PCWSTR,DWORD,PWSTR);
|
---|
402 | #define SetStandardColorSpaceProfile WINELIB_NAME_AW(SetStandardColorSpaceProfile)
|
---|
403 | BOOL WINAPI SetupColorMatchingA(PCOLORMATCHSETUPA);
|
---|
404 | BOOL WINAPI SetupColorMatchingW(PCOLORMATCHSETUPW);
|
---|
405 | #define SetupColorMatching WINELIB_NAME_AW(SetupColorMatching)
|
---|
406 | BOOL WINAPI SpoolerCopyFileEvent(LPWSTR,LPWSTR,DWORD);
|
---|
407 | BOOL WINAPI TranslateBitmapBits(HTRANSFORM,PVOID,BMFORMAT,DWORD,DWORD,DWORD,PVOID,BMFORMAT,DWORD,PBMCALLBACKFN,ULONG);
|
---|
408 | BOOL WINAPI TranslateColors(HTRANSFORM,PCOLOR,DWORD,COLORTYPE,PCOLOR,COLORTYPE);
|
---|
409 | BOOL WINAPI UninstallColorProfileA(PCSTR,PCSTR,BOOL);
|
---|
410 | BOOL WINAPI UninstallColorProfileW(PCWSTR,PCWSTR,BOOL);
|
---|
411 | #define UninstallColorProfile WINELIB_NAME_AW(UninstallColorProfile)
|
---|
412 | BOOL WINAPI UnregisterCMMA(PCSTR,DWORD);
|
---|
413 | BOOL WINAPI UnregisterCMMW(PCWSTR,DWORD);
|
---|
414 | #define UnregisterCMM WINELIB_NAME_AW(UnregisterCMM)
|
---|
415 |
|
---|
416 | #define PROFILE_FILENAME 1
|
---|
417 | #define PROFILE_MEMBUFFER 2
|
---|
418 |
|
---|
419 | #define PROFILE_READ 1
|
---|
420 | #define PROFILE_READWRITE 2
|
---|
421 |
|
---|
422 | #define SPACE_XYZ 0x58595A20 /* 'XYZ ' */
|
---|
423 | #define SPACE_Lab 0x4C616220 /* 'Lab ' */
|
---|
424 | #define SPACE_Luv 0x4C757620 /* 'Luv ' */
|
---|
425 | #define SPACE_YCbCr 0x59436272 /* 'YCbr' */
|
---|
426 | #define SPACE_Yxy 0x59787920 /* 'Yxy ' */
|
---|
427 | #define SPACE_RGB 0x52474220 /* 'RGB ' */
|
---|
428 | #define SPACE_GRAY 0x47524159 /* 'GRAY' */
|
---|
429 | #define SPACE_HSV 0x48535620 /* 'HSV ' */
|
---|
430 | #define SPACE_HLS 0x484C5320 /* 'HLS ' */
|
---|
431 | #define SPACE_CMYK 0x434D594B /* 'CMYK' */
|
---|
432 | #define SPACE_CMY 0x434D5920 /* 'CMY ' */
|
---|
433 | #define SPACE_2_CHANNEL 0x32434c52 /* '2CLR' */
|
---|
434 | #define SPACE_3_CHANNEL 0x33434c52 /* '3CLR' */
|
---|
435 | #define SPACE_4_CHANNEL 0x34434c52 /* '4CLR' */
|
---|
436 | #define SPACE_5_CHANNEL 0x35434c52 /* '5CLR' */
|
---|
437 | #define SPACE_6_CHANNEL 0x36434c52 /* '6CLR' */
|
---|
438 | #define SPACE_7_CHANNEL 0x37434c52 /* '7CLR' */
|
---|
439 | #define SPACE_8_CHANNEL 0x38434c52 /* '8CLR' */
|
---|
440 |
|
---|
441 | #ifdef __cplusplus
|
---|
442 | }
|
---|
443 | #endif
|
---|
444 |
|
---|
445 | #endif /* __WINE_ICM_H */
|
---|