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.

41 lines
1.7 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: driver.h
  3. *
  4. * Contains prototypes for the display driver.
  5. *
  6. * Copyright (c) 2000 Microsoft Corporation
  7. \**************************************************************************/
  8. typedef struct _PDEV PDEV; // Handy forward declaration
  9. //////////////////////////////////////////////////////////////////////
  10. // Miscellaneous shared stuff
  11. #define DLL_NAME L"headlessd" // Name of the DLL in UNICODE
  12. #define STANDARD_DEBUG_PREFIX "HEADLESS: " // All debug output is prefixed
  13. // by this string
  14. #define ALLOC_TAG 'rgvD' // Dvgr // Hdls
  15. // Four byte tag (characters in
  16. // reverse order) used for
  17. // memory allocations
  18. #define DRIVER_EXTRA_SIZE 0 // Size of the DriverExtra information in the
  19. // DEVMODE structure
  20. ////////////////////////////////////////////////////////////////////////
  21. // The Physical Device data structure
  22. typedef struct _PDEV
  23. {
  24. HANDLE hDriver; // Handle to \Device\Screen
  25. HDEV hdevEng; // Engine's handle to PDEV
  26. LONG cxScreen; // Visible screen width
  27. LONG cyScreen; // Visible screen height
  28. HPALETTE hpalDefault; // GDI handle to the default palette.
  29. SURFOBJ* pso; // DIB copy of our surface to which we
  30. // have GDI draw everything
  31. } PDEV, *PPDEV;