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.

40 lines
792 B

  1. /*++
  2. Copyright (c) 1996 - 1999 Microsoft Corporation
  3. Module Name:
  4. pdev.h
  5. Abstract:
  6. Unidrv PDEV and related infor header file.
  7. Environment:
  8. Windows NT Unidrv driver
  9. Revision History:
  10. dd-mm-yy -author-
  11. description
  12. --*/
  13. #ifndef _RENDER_H_
  14. #define _RENDER_H_
  15. #define PALETTE_MAX 256
  16. typedef struct _PAL_DATA {
  17. INT iPalGdi; // Number of colors in GDI palette
  18. INT iPalDev; // Number of colors in printer palette
  19. INT iWhiteIndex; // Index for white entry (background)
  20. INT iBlackIndex; // Index for black entry (background)
  21. ULONG ulPalCol[ PALETTE_MAX ]; // Palette enties!
  22. } PAL_DATA;
  23. #endif // !_RENDER_H