update for HEAD-2003091401
[reactos.git] / subsys / win32k / objects / icm.c
1 /*
2  *  ReactOS W32 Subsystem
3  *  Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */
19 /* $Id$ */
20
21 #undef WIN32_LEAN_AND_MEAN
22 #include <windows.h>
23 #include <ddk/ntddk.h>
24 #include <win32k/icm.h>
25
26 #define NDEBUG
27 #include <win32k/debug1.h>
28
29 BOOL
30 STDCALL
31 NtGdiCheckColorsInGamut(HDC  hDC,
32                              LPVOID  RGBTriples,
33                              LPVOID  Buffer,
34                              UINT  Count)
35 {
36   UNIMPLEMENTED;
37 }
38
39 BOOL
40 STDCALL
41 NtGdiColorMatchToTarget(HDC  hDC,
42                              HDC  hDCTarget, 
43                              DWORD  Action)
44 {
45   UNIMPLEMENTED;
46 }
47
48 HCOLORSPACE
49 STDCALL
50 NtGdiCreateColorSpace(LPLOGCOLORSPACEW  LogColorSpace)
51 {
52   UNIMPLEMENTED;
53 }
54
55 BOOL
56 STDCALL
57 NtGdiDeleteColorSpace(HCOLORSPACE  hColorSpace)
58 {
59   UNIMPLEMENTED;
60 }
61
62 INT
63 STDCALL
64 NtGdiEnumICMProfiles(HDC    hDC,
65                     LPWSTR lpstrBuffer,
66                     UINT   cch )
67 {
68   /*
69    * FIXME - build list of file names into lpstrBuffer.
70    * (MULTI-SZ would probably be best format)
71    * return (needed) length of buffer in bytes
72    */
73   UNIMPLEMENTED;
74   return 0;
75 }
76
77 HCOLORSPACE
78 STDCALL
79 NtGdiGetColorSpace(HDC  hDC)
80 {
81   /* FIXME: Need to to whatever GetColorSpace actually does */
82   return  0;
83 }
84
85 BOOL
86 STDCALL
87 NtGdiGetDeviceGammaRamp(HDC  hDC,  
88                              LPVOID  Ramp)
89 {
90   UNIMPLEMENTED;
91 }
92
93 BOOL
94 STDCALL
95 NtGdiGetICMProfile(HDC  hDC,
96                         LPDWORD  NameSize,
97                         LPWSTR  Filename)
98 {
99   UNIMPLEMENTED;
100 }
101
102 BOOL
103 STDCALL
104 NtGdiGetLogColorSpace(HCOLORSPACE  hColorSpace,
105                            LPLOGCOLORSPACEW  Buffer,
106                            DWORD  Size)
107 {
108   UNIMPLEMENTED;
109 }
110
111 HCOLORSPACE
112 STDCALL
113 NtGdiSetColorSpace(HDC  hDC,
114                                HCOLORSPACE  hColorSpace)
115 {
116   UNIMPLEMENTED;
117 }
118
119 BOOL
120 STDCALL
121 NtGdiSetDeviceGammaRamp(HDC  hDC,
122                              LPVOID  Ramp)
123 {
124   UNIMPLEMENTED;
125 }
126
127 INT
128 STDCALL
129 NtGdiSetICMMode(HDC  hDC,
130                     INT  EnableICM)
131 {
132   /* FIXME: this should be coded someday  */
133   if (EnableICM == ICM_OFF) 
134     {
135       return  ICM_OFF;
136     }
137   if (EnableICM == ICM_ON) 
138     {
139       return  0;
140     }
141   if (EnableICM == ICM_QUERY) 
142     {
143       return  ICM_OFF;
144     }
145   
146   return  0;
147 }
148
149 BOOL
150 STDCALL
151 NtGdiSetICMProfile(HDC  hDC,
152                         LPWSTR  Filename)
153 {
154   UNIMPLEMENTED;
155 }
156
157 BOOL
158 STDCALL
159 NtGdiUpdateICMRegKey(DWORD  Reserved,  
160                           LPWSTR  CMID, 
161                           LPWSTR  Filename,
162                           UINT  Command)
163 {
164   UNIMPLEMENTED;
165 }
166
167 /* EOF */