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.

109 lines
2.1 KiB

  1. //
  2. // Module: DYNATIME.H
  3. // Date: Feb 13, 1997
  4. //
  5. // Copyright (c) 1997 by ATI Technologies Inc.
  6. //
  7. /********************** PolyTron RCS Utilities
  8. $Revision: 1.4 $
  9. $Date: 13 Jul 1997 21:36:20 $
  10. $Author: MACIESOW $
  11. $Log: V:\source\wnt\ms11\miniport\archive\dynatime.h_v $
  12. *
  13. * Rev 1.4 13 Jul 1997 21:36:20 MACIESOW
  14. * Flat panel and TV support.
  15. *
  16. * Rev 1.3 02 Jun 1997 14:20:56 MACIESOW
  17. * Clean up.
  18. *
  19. * Rev 1.2 02 May 1997 15:01:56 MACIESOW
  20. * Registry mode filters. Mode lookup table.
  21. *
  22. * Rev 1.1 25 Apr 1997 13:07:46 MACIESOW
  23. * o globals.
  24. *
  25. * Rev 1.0 15 Mar 1997 10:16:50 MACIESOW
  26. * Initial revision.
  27. End of PolyTron RCS section *****************/
  28. #ifndef _DYNATIME_H_
  29. #define _DYNATIME_H_
  30. //
  31. // Define the various types of displays.
  32. //
  33. #define DISPLAY_TYPE_FLAT_PANEL 0x00000001
  34. #define DISPLAY_TYPE_CRT 0x00000002
  35. #define DISPLAY_TYPE_TV 0x00000004
  36. //
  37. // Prototypes for functions supplied by DYNATIME.C.
  38. //
  39. BOOL
  40. IsMonitorConnected(
  41. PHW_DEVICE_EXTENSION phwDeviceExtension
  42. );
  43. BOOL
  44. IsMonitorOn(
  45. PHW_DEVICE_EXTENSION phwDeviceExtension
  46. );
  47. BOOL
  48. SetMonitorOn(
  49. PHW_DEVICE_EXTENSION phwDeviceExtension
  50. );
  51. BOOL
  52. SetMonitorOff(
  53. PHW_DEVICE_EXTENSION phwDeviceExtension
  54. );
  55. BOOL
  56. SetFlatPanelOn(
  57. PHW_DEVICE_EXTENSION phwDeviceExtension
  58. );
  59. BOOL
  60. SetFlatPanelOff(
  61. PHW_DEVICE_EXTENSION phwDeviceExtension
  62. );
  63. BOOL
  64. SetTVOn(
  65. PHW_DEVICE_EXTENSION phwDeviceExtension
  66. );
  67. BOOL
  68. SetTVOff(
  69. PHW_DEVICE_EXTENSION phwDeviceExtension
  70. );
  71. VP_STATUS
  72. GetDisplays(
  73. PHW_DEVICE_EXTENSION phwDeviceExtension,
  74. PULONG pulDisplays
  75. );
  76. VP_STATUS
  77. GetDisplays(
  78. PHW_DEVICE_EXTENSION phwDeviceExtension,
  79. PULONG pulDisplays
  80. );
  81. VP_STATUS
  82. SetDisplays(
  83. PHW_DEVICE_EXTENSION phwDeviceExtension,
  84. ULONG ulDisplays
  85. );
  86. BOOL
  87. MapModeIndex(
  88. PHW_DEVICE_EXTENSION phwDeviceExtension,
  89. ULONG ulDesiredIndex,
  90. PULONG pulActualIndex
  91. );
  92. #endif // _DYNATIME_H_