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.

58 lines
1.1 KiB

  1. /*==============================================================================
  2. Structures and prototypes for display driver interface.
  3. 09-Jun-93 RajeevD Created.
  4. ==============================================================================*/
  5. #ifndef _INC_DDBITBLT
  6. #define _INC_DDBITBLT
  7. // Logical Brush
  8. typedef struct
  9. {
  10. WORD lbStyle;
  11. WORD lbColor;
  12. WORD lbHatch;
  13. WORD lbBkColor;
  14. }
  15. DD_BRUSH;
  16. // Physical Bitmap
  17. typedef struct
  18. {
  19. WORD bmType;
  20. WORD bmWidth;
  21. WORD bmHeight;
  22. WORD bmWidthBytes;
  23. BYTE bmPlanes;
  24. BYTE bmBitsPixel;
  25. LPVOID bmBits;
  26. DWORD bmWidthPlanes;
  27. LPVOID bmlpPDevice;
  28. WORD bmSegmentIndex;
  29. WORD bmScanSegment;
  30. WORD bmFillBytes;
  31. }
  32. DD_BITMAP, FAR* LPDD_BITMAP;
  33. // Draw Mode
  34. typedef struct
  35. {
  36. short Rop2;
  37. short bkMode;
  38. DWORD dwbgColor;
  39. DWORD dwfgColor;
  40. }
  41. DD_DRAWMODE;
  42. // API Prototypes
  43. BOOL FAR PASCAL ddBitBlt
  44. (LPVOID, WORD, WORD, LPVOID, WORD, WORD,
  45. WORD, WORD, DWORD, LPVOID, LPVOID);
  46. BOOL FAR PASCAL ddRealize
  47. (LPVOID, short, LPVOID, LPVOID, LPVOID);
  48. DWORD FAR PASCAL ddColorInfo
  49. (LPVOID, DWORD, LPDWORD);
  50. #endif // _INC_DDBITBLT