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.

56 lines
751 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. headdata.c
  5. Abstract:
  6. This module contains all the global data used by the headless driver.
  7. Environment:
  8. Kernel mode
  9. --*/
  10. #include "dderror.h"
  11. #include "devioctl.h"
  12. #include "miniport.h"
  13. #include "ntddvdeo.h"
  14. #include "video.h"
  15. #include "headless.h"
  16. #if defined(ALLOC_PRAGMA)
  17. #pragma data_seg("PAGE")
  18. #endif
  19. //
  20. // Video mode table - contains information and commands for initializing each
  21. // mode.
  22. //
  23. VIDEOMODE ModesHeadless[] = {
  24. {
  25. 640, 480
  26. },
  27. {
  28. 800, 600
  29. },
  30. {
  31. 1024, 768
  32. }
  33. };
  34. ULONG NumVideoModes = sizeof(ModesHeadless) / sizeof(VIDEOMODE);
  35. #if defined(ALLOC_PRAGMA)
  36. #pragma data_seg()
  37. #endif