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.

75 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. headless.h
  5. Abstract:
  6. This module contains the definitions for the code that implements the
  7. Headless device driver.
  8. Author:
  9. Environment:
  10. Kernel mode
  11. --*/
  12. #ifndef _HEADLESS_
  13. #define _HEADLESS_
  14. typedef struct {
  15. USHORT hres; // # of pixels across screen
  16. USHORT vres; // # of scan lines down screen
  17. } VIDEOMODE, *PVIDEOMODE;
  18. //
  19. // Function prototypes.
  20. //
  21. VP_STATUS
  22. HeadlessFindAdapter(
  23. PVOID HwDeviceExtension,
  24. PVOID HwContext,
  25. PWSTR ArgumentString,
  26. PVIDEO_PORT_CONFIG_INFO ConfigInfo,
  27. PUCHAR Again
  28. );
  29. BOOLEAN
  30. HeadlessInitialize(
  31. PVOID HwDeviceExtension
  32. );
  33. BOOLEAN
  34. HeadlessStartIO(
  35. PVOID HwDeviceExtension,
  36. PVIDEO_REQUEST_PACKET RequestPacket
  37. );
  38. //
  39. // Private function prototypes.
  40. //
  41. VP_STATUS
  42. HeadlessQueryAvailableModes(
  43. PVIDEO_MODE_INFORMATION ModeInformation,
  44. ULONG ModeInformationSize,
  45. PULONG OutputSize
  46. );
  47. VP_STATUS
  48. HeadlessQueryNumberOfAvailableModes(
  49. PVIDEO_NUM_MODES NumModes,
  50. ULONG NumModesSize,
  51. PULONG OutputSize
  52. );
  53. extern VIDEOMODE ModesHeadless[];
  54. extern ULONG NumVideoModes;
  55. #endif // _HEADLESS_