| 1 | /* $Id: icm.cpp,v 1.1 2001-05-28 09:17:54 phaller Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * GDI32 Color Management apis | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1998-2001 Patrick Haller | 
|---|
| 7 | * | 
|---|
| 8 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 9 | * | 
|---|
| 10 | */ | 
|---|
| 11 | #include <os2win.h> | 
|---|
| 12 | #include <stdlib.h> | 
|---|
| 13 | #include <stdarg.h> | 
|---|
| 14 | #include <string.h> | 
|---|
| 15 | #include <odinwrap.h> | 
|---|
| 16 | #include <misc.h> | 
|---|
| 17 | #include "callback.h" | 
|---|
| 18 | #include "unicode.h" | 
|---|
| 19 | #include "dibsect.h" | 
|---|
| 20 | #include <codepage.h> | 
|---|
| 21 | #include "oslibgpi.h" | 
|---|
| 22 | #include "oslibgdi.h" | 
|---|
| 23 | #include <dcdata.h> | 
|---|
| 24 | #include <winuser32.h> | 
|---|
| 25 |  | 
|---|
| 26 | #define DBG_LOCALLOG    DBG_gdi32 | 
|---|
| 27 | #include "dbglocal.h" | 
|---|
| 28 |  | 
|---|
| 29 | ODINDEBUGCHANNEL(GDI32-ICM) | 
|---|
| 30 |  | 
|---|
| 31 |  | 
|---|
| 32 | //****************************************************************************** | 
|---|
| 33 | //****************************************************************************** | 
|---|
| 34 | UINT WIN32API DeleteColorSpace(                                              /*KSO Thu 21.05.1998*/ | 
|---|
| 35 | HCOLORSPACE hColorSpace | 
|---|
| 36 | ) | 
|---|
| 37 | { | 
|---|
| 38 | dprintf(("GDI32: DeleteColorSpace - stub\n")); | 
|---|
| 39 | return FALSE; | 
|---|
| 40 | } | 
|---|
| 41 | //****************************************************************************** | 
|---|
| 42 | //****************************************************************************** | 
|---|
| 43 | BOOL WIN32API SetColorSpace(                                                 /*KSO Thu 21.05.1998*/ | 
|---|
| 44 | HDC     hdc, | 
|---|
| 45 | HCOLORSPACE hColorSpace | 
|---|
| 46 | ) | 
|---|
| 47 | { | 
|---|
| 48 | dprintf(("GDI32: SetColorSpace - stub\n")); | 
|---|
| 49 | return FALSE; | 
|---|
| 50 | } | 
|---|
| 51 | //****************************************************************************** | 
|---|
| 52 | //****************************************************************************** | 
|---|
| 53 | HCOLORSPACE WIN32API CreateColorSpaceA(                             /*KSO Thu 21.05.1998*/ | 
|---|
| 54 | LPLOGCOLORSPACEA lpLogColorSpace | 
|---|
| 55 | ) | 
|---|
| 56 | { | 
|---|
| 57 | dprintf(("GDI32: CreateColorSpaceA - stub\n")); | 
|---|
| 58 | return 0; | 
|---|
| 59 | } | 
|---|
| 60 | //****************************************************************************** | 
|---|
| 61 | //****************************************************************************** | 
|---|
| 62 | HCOLORSPACE WIN32API CreateColorSpaceW(                              /*KSO Thu 21.05.1998*/ | 
|---|
| 63 | LPLOGCOLORSPACEW lpwLogColorSpace | 
|---|
| 64 | ) | 
|---|
| 65 | { | 
|---|
| 66 | dprintf(("GDI32: CreateColorSpaceW - stub\n")); | 
|---|
| 67 | return 0; | 
|---|
| 68 | } | 
|---|
| 69 | //****************************************************************************** | 
|---|
| 70 | //****************************************************************************** | 
|---|
| 71 | HANDLE WIN32API GetColorSpace(                                               /*KSO Thu 21.05.1998*/ | 
|---|
| 72 | HDC hdc | 
|---|
| 73 | ) | 
|---|
| 74 | { | 
|---|
| 75 | dprintf(("GDI32: GetColorSpace - stub\n")); | 
|---|
| 76 | return 0; | 
|---|
| 77 | } | 
|---|
| 78 | //****************************************************************************** | 
|---|
| 79 | //****************************************************************************** | 
|---|
| 80 | int WIN32API SetICMMode(                                                             /*KSO Thu 21.05.1998*/ | 
|---|
| 81 | HDC hdc, | 
|---|
| 82 | int mode | 
|---|
| 83 | ) | 
|---|
| 84 | { | 
|---|
| 85 | dprintf(("GDI32: SetICMMode - stub\n")); | 
|---|
| 86 | return 0; | 
|---|
| 87 | } | 
|---|
| 88 | //****************************************************************************** | 
|---|
| 89 |  | 
|---|
| 90 |  | 
|---|
| 91 |  | 
|---|
| 92 | /***************************************************************************** | 
|---|
| 93 | * Name      : BOOL CheckColorsInGamut | 
|---|
| 94 | * Purpose   : The CheckColorsInGamut function indicates whether the specified | 
|---|
| 95 | *             color values are within the gamut of the specified device. | 
|---|
| 96 | * Parameters: HDC    hdc        handle of device context | 
|---|
| 97 | *             LPVOID lpaRGBQuad | 
|---|
| 98 | *             LPVOID lpResult | 
|---|
| 99 | *             DWORD  dwResult | 
|---|
| 100 | * Variables : | 
|---|
| 101 | * Result    : TRUE / FALSE | 
|---|
| 102 | * Remark    : | 
|---|
| 103 | * Status    : UNTESTED STUB | 
|---|
| 104 | * | 
|---|
| 105 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 106 | *****************************************************************************/ | 
|---|
| 107 |  | 
|---|
| 108 | BOOL WIN32API CheckColorsInGamut(HDC    hdc, | 
|---|
| 109 | LPVOID lpaRGBQuad, | 
|---|
| 110 | LPVOID lpResult, | 
|---|
| 111 | DWORD  dwResult) | 
|---|
| 112 | { | 
|---|
| 113 | dprintf(("GDI32: CheckColorsInGamut(%08xh,%08xh,%08xh,%08xh) not implemented.\n", | 
|---|
| 114 | hdc, | 
|---|
| 115 | lpaRGBQuad, | 
|---|
| 116 | lpResult, | 
|---|
| 117 | dwResult)); | 
|---|
| 118 |  | 
|---|
| 119 | return (FALSE); | 
|---|
| 120 | } | 
|---|
| 121 |  | 
|---|
| 122 |  | 
|---|
| 123 | /***************************************************************************** | 
|---|
| 124 | * Name      : BOOL ColorMatchToTarget | 
|---|
| 125 | * Purpose   : The ColorMatchToTarget function enables or disables preview for | 
|---|
| 126 | *             the specified device context. When preview is enabled, colors | 
|---|
| 127 | *             in subsequent output to the specified device context are | 
|---|
| 128 | *             displayed as they would appear on the target device. This is | 
|---|
| 129 | *             useful for checking how well the target maps the specified | 
|---|
| 130 | *             colors in an image. To enable preview, image color matching | 
|---|
| 131 | *             must be enabled for both the target and the preview device context. | 
|---|
| 132 | * Parameters: HDC    hdc        handle of device context | 
|---|
| 133 | *             HDC    hdcTarget  handle of target device context | 
|---|
| 134 | *             DWORD  uiAction | 
|---|
| 135 | * Variables : | 
|---|
| 136 | * Result    : TRUE / FALSE | 
|---|
| 137 | * Remark    : | 
|---|
| 138 | * Status    : UNTESTED STUB | 
|---|
| 139 | * | 
|---|
| 140 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 141 | *****************************************************************************/ | 
|---|
| 142 |  | 
|---|
| 143 | BOOL WIN32API ColorMatchToTarget(HDC   hdc, | 
|---|
| 144 | HDC   hdcTarget, | 
|---|
| 145 | DWORD uiAction) | 
|---|
| 146 | { | 
|---|
| 147 | dprintf(("GDI32: ColorMatchToTarget(%08xh,%08xh,%08xh) not implemented.\n", | 
|---|
| 148 | hdc, | 
|---|
| 149 | hdcTarget, | 
|---|
| 150 | uiAction)); | 
|---|
| 151 |  | 
|---|
| 152 | return (FALSE); | 
|---|
| 153 | } | 
|---|
| 154 |  | 
|---|
| 155 |  | 
|---|
| 156 | /***************************************************************************** | 
|---|
| 157 | * Name      : int EnumICMProfilesA | 
|---|
| 158 | * Purpose   : The EnumICMProfilesA function enumerates the different color | 
|---|
| 159 | *             profiles that the system supports for the specified device context. | 
|---|
| 160 | * Parameters: HDC         hdc | 
|---|
| 161 | *             ICMENUMPROC lpICMEnumFunc | 
|---|
| 162 | *             LPARAM      lParam | 
|---|
| 163 | * Variables : | 
|---|
| 164 | * Result    : TRUE / FALSE | 
|---|
| 165 | * Remark    : | 
|---|
| 166 | * Status    : UNTESTED STUB | 
|---|
| 167 | * | 
|---|
| 168 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 169 | *****************************************************************************/ | 
|---|
| 170 |  | 
|---|
| 171 | int WIN32API EnumICMProfilesA(HDC         hdc, | 
|---|
| 172 | ICMENUMPROCA lpICMEnumProc, | 
|---|
| 173 | LPARAM      lParam) | 
|---|
| 174 | { | 
|---|
| 175 | dprintf(("GDI32: EnumICMProfilesA(%08xh, %08xh, %08xh) not implemented(-1).\n", | 
|---|
| 176 | hdc, | 
|---|
| 177 | lpICMEnumProc, | 
|---|
| 178 | lParam)); | 
|---|
| 179 |  | 
|---|
| 180 | return (-1); | 
|---|
| 181 | } | 
|---|
| 182 |  | 
|---|
| 183 |  | 
|---|
| 184 | /***************************************************************************** | 
|---|
| 185 | * Name      : int EnumICMProfilesW | 
|---|
| 186 | * Purpose   : The EnumICMProfilesW function enumerates the different color | 
|---|
| 187 | *             profiles that the system supports for the specified device context. | 
|---|
| 188 | * Parameters: HDC         hdc | 
|---|
| 189 | *             ICMENUMPROC lpICMEnumFunc | 
|---|
| 190 | *             LPARAM      lParam | 
|---|
| 191 | * Variables : | 
|---|
| 192 | * Result    : TRUE / FALSE | 
|---|
| 193 | * Remark    : | 
|---|
| 194 | * Status    : UNTESTED STUB | 
|---|
| 195 | * | 
|---|
| 196 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 197 | *****************************************************************************/ | 
|---|
| 198 |  | 
|---|
| 199 | int WIN32API EnumICMProfilesW(HDC          hdc, | 
|---|
| 200 | ICMENUMPROCW lpICMEnumProc, | 
|---|
| 201 | LPARAM       lParam) | 
|---|
| 202 | { | 
|---|
| 203 | dprintf(("GDI32: EnumICMProfilesW(%08xh, %08xh, %08xh) not implemented (-1).\n", | 
|---|
| 204 | hdc, | 
|---|
| 205 | lpICMEnumProc, | 
|---|
| 206 | lParam)); | 
|---|
| 207 |  | 
|---|
| 208 | return (-1); | 
|---|
| 209 | } | 
|---|
| 210 |  | 
|---|
| 211 |  | 
|---|
| 212 |  | 
|---|
| 213 | /***************************************************************************** | 
|---|
| 214 | * Name      : DWORD GetDeviceGammaRamp | 
|---|
| 215 | * Purpose   : The GetDeviceGammaRamp function retrieves the gamma ramp on | 
|---|
| 216 | *             direct color display boards. | 
|---|
| 217 | * Parameters: HDC     hdc        handle to device context | 
|---|
| 218 | *             LPVOID  lpRamp     Gamma ramp array | 
|---|
| 219 | * Variables : | 
|---|
| 220 | * Result    : | 
|---|
| 221 | * Remark    : | 
|---|
| 222 | * Status    : UNTESTED STUB | 
|---|
| 223 | * | 
|---|
| 224 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 225 | *****************************************************************************/ | 
|---|
| 226 |  | 
|---|
| 227 | DWORD WIN32API GetDeviceGammaRamp(HDC    hdc, | 
|---|
| 228 | LPVOID lpRamp) | 
|---|
| 229 | { | 
|---|
| 230 | dprintf(("GDI32: GetDeviceGammaRamp(%08xh, %08xh) not implemented.\n", | 
|---|
| 231 | hdc, | 
|---|
| 232 | lpRamp)); | 
|---|
| 233 |  | 
|---|
| 234 | return (FALSE); | 
|---|
| 235 | } | 
|---|
| 236 |  | 
|---|
| 237 |  | 
|---|
| 238 |  | 
|---|
| 239 |  | 
|---|
| 240 | /***************************************************************************** | 
|---|
| 241 | * Name      : BOOL GetICMProfileA | 
|---|
| 242 | * Purpose   : The GetICMProfileA function retrieves the name of the color | 
|---|
| 243 | *             profile file for the device associated with the specified device | 
|---|
| 244 | *             context. | 
|---|
| 245 | * Parameters: HDC     hdc        handle to device context | 
|---|
| 246 | *             DWORD   cbName | 
|---|
| 247 | *             LPTSTR  lpszFilename | 
|---|
| 248 | * Variables : | 
|---|
| 249 | * Result    : TRUE / FALSE | 
|---|
| 250 | * Remark    : | 
|---|
| 251 | * Status    : UNTESTED STUB | 
|---|
| 252 | * | 
|---|
| 253 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 254 | *****************************************************************************/ | 
|---|
| 255 |  | 
|---|
| 256 | BOOL WIN32API GetICMProfileA(HDC    hdc, | 
|---|
| 257 | DWORD  cbName, | 
|---|
| 258 | LPTSTR lpszFilename) | 
|---|
| 259 | { | 
|---|
| 260 | dprintf(("GDI32: GetICMProfileA(%08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 261 | hdc, | 
|---|
| 262 | cbName, | 
|---|
| 263 | lpszFilename)); | 
|---|
| 264 |  | 
|---|
| 265 | return (FALSE); | 
|---|
| 266 | } | 
|---|
| 267 |  | 
|---|
| 268 |  | 
|---|
| 269 | /***************************************************************************** | 
|---|
| 270 | * Name      : BOOL GetICMProfileW | 
|---|
| 271 | * Purpose   : The GetICMProfileW function retrieves the name of the color | 
|---|
| 272 | *             profile file for the device associated with the specified device | 
|---|
| 273 | *             context. | 
|---|
| 274 | * Parameters: HDC     hdc        handle to device context | 
|---|
| 275 | *             DWORD   cbName | 
|---|
| 276 | *             LPWSTR  lpszFilename | 
|---|
| 277 | * Variables : | 
|---|
| 278 | * Result    : TRUE / FALSE | 
|---|
| 279 | * Remark    : | 
|---|
| 280 | * Status    : UNTESTED STUB | 
|---|
| 281 | * | 
|---|
| 282 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 283 | *****************************************************************************/ | 
|---|
| 284 |  | 
|---|
| 285 | BOOL WIN32API GetICMProfileW(HDC    hdc, | 
|---|
| 286 | DWORD  cbName, | 
|---|
| 287 | LPTSTR lpszFilename) | 
|---|
| 288 | { | 
|---|
| 289 | dprintf(("GDI32: GetICMProfileW(%08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 290 | hdc, | 
|---|
| 291 | cbName, | 
|---|
| 292 | lpszFilename)); | 
|---|
| 293 |  | 
|---|
| 294 | return (FALSE); | 
|---|
| 295 | } | 
|---|
| 296 |  | 
|---|
| 297 |  | 
|---|
| 298 | /***************************************************************************** | 
|---|
| 299 | * Name      : BOOL GetLogColorSpaceA | 
|---|
| 300 | * Purpose   : The GetLogColorSpace function retrieves information about the | 
|---|
| 301 | *             logical color space identified by the specified handle. | 
|---|
| 302 | * Parameters: HCOLORSPACE     hColorSpace | 
|---|
| 303 | *             LPLOGCOLORSPACE lpbuffer | 
|---|
| 304 | *             DWORD           nSize | 
|---|
| 305 | * Variables : | 
|---|
| 306 | * Result    : TRUE / FALSE | 
|---|
| 307 | * Remark    : | 
|---|
| 308 | * Status    : UNTESTED STUB | 
|---|
| 309 | * | 
|---|
| 310 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 311 | *****************************************************************************/ | 
|---|
| 312 |  | 
|---|
| 313 | #define LPLOGCOLORSPACE LPVOID | 
|---|
| 314 | BOOL WIN32API GetLogColorSpaceA(HCOLORSPACE     hColorSpace, | 
|---|
| 315 | LPLOGCOLORSPACE lpBuffer, | 
|---|
| 316 | DWORD           nSize) | 
|---|
| 317 | { | 
|---|
| 318 | dprintf(("GDI32: GetLogColorSpaceA(%08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 319 | hColorSpace, | 
|---|
| 320 | lpBuffer, | 
|---|
| 321 | nSize)); | 
|---|
| 322 |  | 
|---|
| 323 | return (FALSE); | 
|---|
| 324 | } | 
|---|
| 325 |  | 
|---|
| 326 |  | 
|---|
| 327 | /***************************************************************************** | 
|---|
| 328 | * Name      : BOOL GetLogColorSpaceW | 
|---|
| 329 | * Purpose   : The GetLogColorSpace function retrieves information about the | 
|---|
| 330 | *             logical color space identified by the specified handle. | 
|---|
| 331 | * Parameters: HCOLORSPACE     hColorSpace | 
|---|
| 332 | *             LPLOGCOLORSPACE lpbuffer | 
|---|
| 333 | *             DWORD           nSize | 
|---|
| 334 | * Variables : | 
|---|
| 335 | * Result    : TRUE / FALSE | 
|---|
| 336 | * Remark    : | 
|---|
| 337 | * Status    : UNTESTED STUB | 
|---|
| 338 | * | 
|---|
| 339 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 340 | *****************************************************************************/ | 
|---|
| 341 |  | 
|---|
| 342 | BOOL WIN32API GetLogColorSpaceW(HCOLORSPACE     hColorSpace, | 
|---|
| 343 | LPLOGCOLORSPACE lpBuffer, | 
|---|
| 344 | DWORD           nSize) | 
|---|
| 345 | { | 
|---|
| 346 | dprintf(("GDI32: GetLogColorSpaceW(%08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 347 | hColorSpace, | 
|---|
| 348 | lpBuffer, | 
|---|
| 349 | nSize)); | 
|---|
| 350 |  | 
|---|
| 351 | return (FALSE); | 
|---|
| 352 | } | 
|---|
| 353 |  | 
|---|
| 354 |  | 
|---|
| 355 | /***************************************************************************** | 
|---|
| 356 | * Name      : BOOL SetDeviceGammaRamp | 
|---|
| 357 | * Purpose   : The SetDeviceGammaRamp function sets the gamma ramp on direct | 
|---|
| 358 | *             color display boards. | 
|---|
| 359 | * Parameters: HDC    hdc   handle of device context | 
|---|
| 360 | *             LPVOID lpRamp | 
|---|
| 361 | * Variables : | 
|---|
| 362 | * Result    : TRUE / FALSE | 
|---|
| 363 | * Remark    : | 
|---|
| 364 | * Status    : UNTESTED STUB | 
|---|
| 365 | * | 
|---|
| 366 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 367 | *****************************************************************************/ | 
|---|
| 368 |  | 
|---|
| 369 | BOOL WIN32API SetDeviceGammaRamp(HDC    hdc, | 
|---|
| 370 | LPVOID lpRamp) | 
|---|
| 371 | { | 
|---|
| 372 | dprintf(("GDI32: SetDeviceGammaRamp(%08xh, %08xh) not implemented.\n", | 
|---|
| 373 | hdc, | 
|---|
| 374 | lpRamp)); | 
|---|
| 375 |  | 
|---|
| 376 | return (FALSE); | 
|---|
| 377 | } | 
|---|
| 378 |  | 
|---|
| 379 |  | 
|---|
| 380 | /***************************************************************************** | 
|---|
| 381 | * Name      : BOOL SetICMProfileA | 
|---|
| 382 | * Purpose   : The SetICMProfileA function sets the color profile for the | 
|---|
| 383 | *             specified device context. | 
|---|
| 384 | * Parameters: HDC    hdc   handle of device context | 
|---|
| 385 | *             LPTSTR lpFileName | 
|---|
| 386 | * Variables : | 
|---|
| 387 | * Result    : TRUE / FALSE | 
|---|
| 388 | * Remark    : | 
|---|
| 389 | * Status    : UNTESTED STUB | 
|---|
| 390 | * | 
|---|
| 391 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 392 | *****************************************************************************/ | 
|---|
| 393 |  | 
|---|
| 394 | BOOL WIN32API SetICMProfileA(HDC    hdc, | 
|---|
| 395 | LPTSTR lpFileName) | 
|---|
| 396 | { | 
|---|
| 397 | dprintf(("GDI32: SetICMProfileA(%08xh, %s) not implemented.\n", | 
|---|
| 398 | hdc, | 
|---|
| 399 | lpFileName)); | 
|---|
| 400 |  | 
|---|
| 401 | return (FALSE); | 
|---|
| 402 | } | 
|---|
| 403 |  | 
|---|
| 404 |  | 
|---|
| 405 | /***************************************************************************** | 
|---|
| 406 | * Name      : BOOL SetICMProfileW | 
|---|
| 407 | * Purpose   : The SetICMProfileW function sets the color profile for the | 
|---|
| 408 | *             specified device context. | 
|---|
| 409 | * Parameters: HDC    hdc   handle of device context | 
|---|
| 410 | *             LPTSTR lpFileName | 
|---|
| 411 | * Variables : | 
|---|
| 412 | * Result    : TRUE / FALSE | 
|---|
| 413 | * Remark    : | 
|---|
| 414 | * Status    : UNTESTED STUB | 
|---|
| 415 | * | 
|---|
| 416 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 417 | *****************************************************************************/ | 
|---|
| 418 |  | 
|---|
| 419 | BOOL WIN32API SetICMProfileW(HDC    hdc, | 
|---|
| 420 | LPWSTR lpFileName) | 
|---|
| 421 | { | 
|---|
| 422 | dprintf(("GDI32: SetICMProfileW(%08xh, %s) not implemented.\n", | 
|---|
| 423 | hdc, | 
|---|
| 424 | lpFileName)); | 
|---|
| 425 |  | 
|---|
| 426 | return (FALSE); | 
|---|
| 427 | } | 
|---|
| 428 |  | 
|---|
| 429 |  | 
|---|
| 430 |  | 
|---|
| 431 | /***************************************************************************** | 
|---|
| 432 | * Name      : BOOL UpdateICMRegKeyA | 
|---|
| 433 | * Purpose   : The UpdateICMRegKeyA function installs, removes, or queries | 
|---|
| 434 | *             registry entries that identify ICC color profiles or color-matching | 
|---|
| 435 | *             DLLs. The function carries out the action specified by the nCommand | 
|---|
| 436 | *             parameter. | 
|---|
| 437 | * Parameters: DWORD   dwReserved | 
|---|
| 438 | *             DWORD   CMID | 
|---|
| 439 | *             LPTSTR  lpszFileName | 
|---|
| 440 | *             UINT    nCommand | 
|---|
| 441 | * Variables : | 
|---|
| 442 | * Result    : TRUE / FALSE | 
|---|
| 443 | * Remark    : | 
|---|
| 444 | * Status    : UNTESTED STUB | 
|---|
| 445 | * | 
|---|
| 446 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 447 | *****************************************************************************/ | 
|---|
| 448 |  | 
|---|
| 449 | BOOL WIN32API UpdateICMRegKeyA(DWORD  dwReserved, | 
|---|
| 450 | DWORD  CMID, | 
|---|
| 451 | LPTSTR lpszFileName, | 
|---|
| 452 | UINT   nCommand) | 
|---|
| 453 | { | 
|---|
| 454 | dprintf(("GDI32: UpdateICMRegKeyA(%08xh, %08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 455 | dwReserved, | 
|---|
| 456 | CMID, | 
|---|
| 457 | lpszFileName, | 
|---|
| 458 | nCommand)); | 
|---|
| 459 |  | 
|---|
| 460 | return (FALSE); | 
|---|
| 461 | } | 
|---|
| 462 |  | 
|---|
| 463 |  | 
|---|
| 464 | /***************************************************************************** | 
|---|
| 465 | * Name      : BOOL UpdateICMRegKeyW | 
|---|
| 466 | * Purpose   : The UpdateICMRegKeyW function installs, removes, or queries | 
|---|
| 467 | *             registry entries that identify ICC color profiles or color-matching | 
|---|
| 468 | *             DLLs. The function carries out the action specified by the nCommand | 
|---|
| 469 | *             parameter. | 
|---|
| 470 | * Parameters: DWORD   dwReserved | 
|---|
| 471 | *             DWORD   CMID | 
|---|
| 472 | *             LPWSTR  lpszFileName | 
|---|
| 473 | *             UINT    nCommand | 
|---|
| 474 | * Variables : | 
|---|
| 475 | * Result    : TRUE / FALSE | 
|---|
| 476 | * Remark    : | 
|---|
| 477 | * Status    : UNTESTED STUB | 
|---|
| 478 | * | 
|---|
| 479 | * Author    : Patrick Haller [Mon, 1998/06/15 08:00] | 
|---|
| 480 | *****************************************************************************/ | 
|---|
| 481 |  | 
|---|
| 482 | BOOL WIN32API UpdateICMRegKeyW(DWORD  dwReserved, | 
|---|
| 483 | DWORD  CMID, | 
|---|
| 484 | LPWSTR lpszFileName, | 
|---|
| 485 | UINT   nCommand) | 
|---|
| 486 | { | 
|---|
| 487 | dprintf(("GDI32: UpdateICMRegKeyW(%08xh, %08xh, %08xh, %08xh) not implemented.\n", | 
|---|
| 488 | dwReserved, | 
|---|
| 489 | CMID, | 
|---|
| 490 | lpszFileName, | 
|---|
| 491 | nCommand)); | 
|---|
| 492 |  | 
|---|
| 493 | return (FALSE); | 
|---|
| 494 | } | 
|---|
| 495 |  | 
|---|
| 496 |  | 
|---|
| 497 |  | 
|---|