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.

112 lines
2.1 KiB

  1. //===========================================================================
  2. //
  3. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. // PURPOSE.
  7. //
  8. // Copyright (c) 1996 - 2000 Microsoft Corporation. All Rights Reserved.
  9. //
  10. //===========================================================================
  11. //
  12. // Function prototypes
  13. //
  14. NTSTATUS
  15. DCamReadRegister(
  16. IN PIRB Irb,
  17. PDCAM_EXTENSION pDevExt,
  18. ULONG ulFieldOffset,
  19. ULONG * pulValue
  20. );
  21. NTSTATUS
  22. DCamWriteRegister(
  23. IN PIRB Irb,
  24. PDCAM_EXTENSION pDevExt,
  25. ULONG ulFieldOffset,
  26. ULONG ulValue
  27. );
  28. BOOL
  29. DCamGetPropertyValuesFromRegistry(
  30. PDCAM_EXTENSION pDevExt
  31. );
  32. BOOL
  33. DCamGetVideoMode(
  34. PDCAM_EXTENSION pDevExt,
  35. PIRB pIrb
  36. );
  37. BOOL
  38. DCamBuildFormatTable(
  39. PDCAM_EXTENSION pDevExt,
  40. PIRB pIrb
  41. );
  42. BOOL
  43. DCamSetPropertyValuesToRegistry(
  44. PDCAM_EXTENSION pDevExt
  45. );
  46. BOOL
  47. DCamPrepareDevProperties(
  48. PDCAM_EXTENSION pDevExt
  49. );
  50. VOID
  51. STREAMAPI
  52. AdapterGetProperty(
  53. PHW_STREAM_REQUEST_BLOCK pSrb
  54. );
  55. VOID
  56. STREAMAPI
  57. AdapterSetProperty(
  58. PHW_STREAM_REQUEST_BLOCK pSrb
  59. );
  60. NTSTATUS
  61. DCamGetProperty(
  62. IN PIRB Irb,
  63. PDCAM_EXTENSION pDevExt,
  64. ULONG ulFieldOffset,
  65. LONG * plValue,
  66. ULONG * pulCapability,
  67. ULONG * pulFlags,
  68. DCamRegArea * pFeature
  69. );
  70. NTSTATUS
  71. DCamSetProperty(
  72. IN PIRB Irb,
  73. PDCAM_EXTENSION pDevExt,
  74. ULONG ulFieldOffset,
  75. ULONG ulFlags,
  76. LONG lValue,
  77. DCamRegArea * pFeature,
  78. DCamRegArea * pCachedRegArea
  79. );
  80. NTSTATUS
  81. DCamGetRange(
  82. IN PIRB Irb,
  83. PDCAM_EXTENSION pDevExt,
  84. ULONG ulFieldOffset,
  85. LONG * pMinValue,
  86. LONG * pMaxValue
  87. );
  88. NTSTATUS
  89. DCamSetAutoMode(
  90. IN PIRB Irb,
  91. PDCAM_EXTENSION pDevExt,
  92. ULONG ulFieldOffset,
  93. BOOL bAutoMode
  94. );
  95. VOID
  96. SetCurrentDevicePropertyValues(
  97. PDCAM_EXTENSION pDevExt,
  98. PIRB pIrb
  99. );