Leaked source code of windows server 2003
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.

138 lines
2.7 KiB

  1. /*++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name:
  4. rastproc.h
  5. Abstract:
  6. Interface between Control module and Render module
  7. Environment:
  8. Windows NT Unidrv driver
  9. Revision History:
  10. 12/05/96 -alvins-
  11. Created
  12. dd-mm-yy -author-
  13. description
  14. --*/
  15. #ifndef _RASTPROC_H_
  16. #define _RASTPROC_H_
  17. // internal function declarations
  18. BOOL bInitRasterPDev(PDEV *);
  19. long lSetup8BitPalette (PRASTERPDEV, PAL_DATA *, DEVINFO *, GDIINFO *);
  20. long lSetup24BitPalette (PAL_DATA *, DEVINFO *, GDIINFO *);
  21. // extern interface declarations
  22. BOOL RMStartDoc (SURFOBJ *,PWSTR,DWORD);
  23. BOOL RMStartPage (SURFOBJ *);
  24. BOOL RMSendPage (SURFOBJ *);
  25. BOOL RMEndDoc (SURFOBJ *,FLONG);
  26. BOOL RMNextBand (SURFOBJ *, POINTL *);
  27. BOOL RMStartBanding (SURFOBJ *, POINTL *);
  28. BOOL RMResetPDEV (PDEV *,PDEV *);
  29. BOOL RMEnableSurface (PDEV *);
  30. VOID RMDisableSurface (PDEV *);
  31. VOID RMDisablePDEV (PDEV *);
  32. BOOL RMCopyBits (
  33. SURFOBJ *,
  34. SURFOBJ *,
  35. CLIPOBJ *,
  36. XLATEOBJ *,
  37. RECTL *,
  38. POINTL *
  39. );
  40. BOOL RMBitBlt (
  41. SURFOBJ *,
  42. SURFOBJ *,
  43. SURFOBJ *,
  44. CLIPOBJ *,
  45. XLATEOBJ *,
  46. RECTL *,
  47. POINTL *,
  48. POINTL *,
  49. BRUSHOBJ *,
  50. POINTL *,
  51. ROP4
  52. );
  53. BOOL RMStretchBlt (
  54. SURFOBJ *,
  55. SURFOBJ *,
  56. SURFOBJ *,
  57. CLIPOBJ *,
  58. XLATEOBJ *,
  59. COLORADJUSTMENT *,
  60. POINTL *,
  61. RECTL *,
  62. RECTL *,
  63. POINTL *,
  64. ULONG
  65. );
  66. BOOL RMStretchBltROP(
  67. SURFOBJ *,
  68. SURFOBJ *,
  69. SURFOBJ *,
  70. CLIPOBJ *,
  71. XLATEOBJ *,
  72. COLORADJUSTMENT *,
  73. POINTL *,
  74. RECTL *,
  75. RECTL *,
  76. POINTL *,
  77. ULONG ,
  78. BRUSHOBJ *,
  79. DWORD
  80. );
  81. BOOL RMPaint(
  82. SURFOBJ *,
  83. CLIPOBJ *,
  84. BRUSHOBJ *,
  85. POINTL *,
  86. MIX
  87. );
  88. BOOL RMPlgBlt (
  89. SURFOBJ *,
  90. SURFOBJ *,
  91. SURFOBJ *,
  92. CLIPOBJ *,
  93. XLATEOBJ *,
  94. COLORADJUSTMENT *,
  95. POINTL *,
  96. POINTFIX *,
  97. RECTL *,
  98. POINTL *,
  99. ULONG
  100. );
  101. ULONG RMDitherColor (PDEV *, ULONG, ULONG, ULONG *);
  102. #endif // !_RASTPROC_H_