branch update for HEAD-2003091401
[reactos.git] / subsys / win32k / objects / icm.c
index 4b81c8e..b5e9dd3 100644 (file)
@@ -1,4 +1,22 @@
-
+/*
+ *  ReactOS W32 Subsystem
+ *  Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+/* $Id$ */
 
 #undef WIN32_LEAN_AND_MEAN
 #include <windows.h>
@@ -10,7 +28,7 @@
 
 BOOL
 STDCALL
-W32kCheckColorsInGamut(HDC  hDC,
+NtGdiCheckColorsInGamut(HDC  hDC,
                              LPVOID  RGBTriples,
                              LPVOID  Buffer,
                              UINT  Count)
@@ -20,7 +38,7 @@ W32kCheckColorsInGamut(HDC  hDC,
 
 BOOL
 STDCALL
-W32kColorMatchToTarget(HDC  hDC,
+NtGdiColorMatchToTarget(HDC  hDC,
                              HDC  hDCTarget, 
                              DWORD  Action)
 {
@@ -29,30 +47,36 @@ W32kColorMatchToTarget(HDC  hDC,
 
 HCOLORSPACE
 STDCALL
-W32kCreateColorSpace(LPLOGCOLORSPACE  LogColorSpace)
+NtGdiCreateColorSpace(LPLOGCOLORSPACEW  LogColorSpace)
 {
   UNIMPLEMENTED;
 }
 
 BOOL
 STDCALL
-W32kDeleteColorSpace(HCOLORSPACE  hColorSpace)
+NtGdiDeleteColorSpace(HCOLORSPACE  hColorSpace)
 {
   UNIMPLEMENTED;
 }
 
 INT
 STDCALL
-W32kEnumICMProfiles(HDC  hDC,  
-                         ICMENUMPROC  EnumICMProfilesFunc,
-                         LPARAM lParam)
+NtGdiEnumICMProfiles(HDC    hDC,
+                    LPWSTR lpstrBuffer,
+                    UINT   cch )
 {
+  /*
+   * FIXME - build list of file names into lpstrBuffer.
+   * (MULTI-SZ would probably be best format)
+   * return (needed) length of buffer in bytes
+   */
   UNIMPLEMENTED;
+  return 0;
 }
 
 HCOLORSPACE
 STDCALL
-W32kGetColorSpace(HDC  hDC)
+NtGdiGetColorSpace(HDC  hDC)
 {
   /* FIXME: Need to to whatever GetColorSpace actually does */
   return  0;
@@ -60,7 +84,7 @@ W32kGetColorSpace(HDC  hDC)
 
 BOOL
 STDCALL
-W32kGetDeviceGammaRamp(HDC  hDC,  
+NtGdiGetDeviceGammaRamp(HDC  hDC,  
                              LPVOID  Ramp)
 {
   UNIMPLEMENTED;
@@ -68,8 +92,8 @@ W32kGetDeviceGammaRamp(HDC  hDC,
 
 BOOL
 STDCALL
-W32kGetICMProfile(HDC  hDC,  
-                        LPDWORD  NameSize,  
+NtGdiGetICMProfile(HDC  hDC,
+                        LPDWORD  NameSize,
                         LPWSTR  Filename)
 {
   UNIMPLEMENTED;
@@ -77,8 +101,8 @@ W32kGetICMProfile(HDC  hDC,
 
 BOOL
 STDCALL
-W32kGetLogColorSpace(HCOLORSPACE  hColorSpace,
-                           LPLOGCOLORSPACE  Buffer,  
+NtGdiGetLogColorSpace(HCOLORSPACE  hColorSpace,
+                           LPLOGCOLORSPACEW  Buffer,
                            DWORD  Size)
 {
   UNIMPLEMENTED;
@@ -86,7 +110,7 @@ W32kGetLogColorSpace(HCOLORSPACE  hColorSpace,
 
 HCOLORSPACE
 STDCALL
-W32kSetColorSpace(HDC  hDC,
+NtGdiSetColorSpace(HDC  hDC,
                                HCOLORSPACE  hColorSpace)
 {
   UNIMPLEMENTED;
@@ -94,7 +118,7 @@ W32kSetColorSpace(HDC  hDC,
 
 BOOL
 STDCALL
-W32kSetDeviceGammaRamp(HDC  hDC,
+NtGdiSetDeviceGammaRamp(HDC  hDC,
                              LPVOID  Ramp)
 {
   UNIMPLEMENTED;
@@ -102,7 +126,7 @@ W32kSetDeviceGammaRamp(HDC  hDC,
 
 INT
 STDCALL
-W32kSetICMMode(HDC  hDC,
+NtGdiSetICMMode(HDC  hDC,
                     INT  EnableICM)
 {
   /* FIXME: this should be coded someday  */
@@ -124,7 +148,7 @@ W32kSetICMMode(HDC  hDC,
 
 BOOL
 STDCALL
-W32kSetICMProfile(HDC  hDC,
+NtGdiSetICMProfile(HDC  hDC,
                         LPWSTR  Filename)
 {
   UNIMPLEMENTED;
@@ -132,7 +156,7 @@ W32kSetICMProfile(HDC  hDC,
 
 BOOL
 STDCALL
-W32kUpdateICMRegKey(DWORD  Reserved,  
+NtGdiUpdateICMRegKey(DWORD  Reserved,  
                           LPWSTR  CMID, 
                           LPWSTR  Filename,
                           UINT  Command)
@@ -140,4 +164,4 @@ W32kUpdateICMRegKey(DWORD  Reserved,
   UNIMPLEMENTED;
 }
 
-
+/* EOF */