Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.7 KiB

  1. __foldwin32sstuff __foldwin32sstuff;
  2. foldstyleinitialization = true;
  3. enablemapdirect1632 = true;
  4. defaultholdwin16lock = true;
  5. #include "types.thk"
  6. /* ICM Type Definitions for Image Color Matchers */
  7. typedef DWORD HCMTRANSFORM;
  8. typedef DWORD RGBQUAD;
  9. typedef DWORD *LPRGBQUAD;
  10. typedef LPVOID LPDEVCHARACTER;
  11. typedef LPVOID LPDEVMODE;
  12. typedef DWORD *LPCOLORREF;
  13. /* Transport problem */
  14. VOID InitICM32(DWORD init, PBYTE pDICGM16, PBYTE pLSC)
  15. {
  16. releasewin16lock = true;
  17. }
  18. VOID LoadImageColorMatcher32(PBYTE pfilename, PBYTE pprofilename)
  19. {
  20. releasewin16lock = true;
  21. }
  22. /* ICM Function Prototypes (API for Image Color Matcher) */
  23. HCMTRANSFORM ICMCreateTransform(PBYTE lplogcolorspace,
  24. PBYTE lpdevcharacter,
  25. PBYTE lpdevchar) =
  26. HCMTRANSFORM CMCreateTransform( PBYTE lplogcolorspace,
  27. PBYTE lpdevcharacter,
  28. PBYTE lpdevchar)
  29. {}
  30. BOOL ICMDeleteTransform(HCMTRANSFORM hcmTransform) =
  31. BOOL CMDeleteTransform(HCMTRANSFORM hcmTransform)
  32. {}
  33. BOOL ICMTranslateRGB(HCMTRANSFORM hcmTransform,
  34. RGBQUAD rgbQuad,
  35. LPCOLORREF lpColorRef,
  36. DWORD huh) =
  37. BOOL CMTranslateRGB( HCMTRANSFORM hcmTransform,
  38. RGBQUAD rgbQuad,
  39. LPCOLORREF lpColorRef,
  40. DWORD huh)
  41. {}
  42. BOOL ICMTranslateRGBs(HCMTRANSFORM hcmTransform,
  43. LPVOID lpsrc,
  44. DWORD srcflags,
  45. DWORD nsrcwidth,
  46. DWORD nsrcheight,
  47. DWORD nsrcwrap,
  48. LPVOID lpdest,
  49. DWORD destflags,
  50. DWORD flags) =
  51. BOOL CMTranslateRGBs( HCMTRANSFORM hcmTransform,
  52. LPVOID lpsrc,
  53. DWORD srcflags,
  54. DWORD nsrcwidth,
  55. DWORD nsrcheight,
  56. DWORD nsrcwrap,
  57. LPVOID lpdest,
  58. DWORD destflags,
  59. DWORD flags)
  60. {}
  61. BOOL ICMCheckColorsInGamut(HCMTRANSFORM, LPRGBQUAD, LPBYTE, DWORD) =
  62. BOOL CMCheckColorsInGamut(HCMTRANSFORM, LPRGBQUAD, LPBYTE, DWORD)
  63. {}
  64. HCMTRANSFORM ICMCreateTransformExt(PBYTE lplogcolorspace,
  65. PBYTE lpdevcharacter,
  66. PBYTE lpdevchar) =
  67. HCMTRANSFORM CMCreateTransformExt( PBYTE lplogcolorspace,
  68. PBYTE lpdevcharacter,
  69. PBYTE lpdevchar)
  70. {}
  71. BOOL icm_FindMonitorProfile(LPVOID)
  72. {}
  73. BOOL icm_FindPrinterProfile(LPVOID, LPVOID, LPVOID)
  74. {
  75. releasewin16lock = true;
  76. }