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.

123 lines
2.5 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. root.h
  5. Abstract:
  6. This module contains the root FDO handler for the NT Driver
  7. Author:
  8. Stephane Plante (splante)
  9. Environment:
  10. NT Kernel Model Driver only
  11. --*/
  12. #ifndef _ROOT_H_
  13. #define _ROOT_H_
  14. NTSTATUS
  15. ACPIRootIrpCancelRemoveOrStopDevice(
  16. IN PDEVICE_OBJECT DeviceObject,
  17. IN PIRP Irp
  18. );
  19. NTSTATUS
  20. ACPIRootIrpCompleteRoutine(
  21. IN PDEVICE_OBJECT DeviceObject,
  22. IN PIRP Irp,
  23. IN PVOID Context
  24. );
  25. NTSTATUS
  26. ACPIRootIrpQueryCapabilities(
  27. IN PDEVICE_OBJECT DeviceObject,
  28. IN PIRP Irp
  29. );
  30. NTSTATUS
  31. ACPIRootIrpQueryDeviceRelations(
  32. IN PDEVICE_OBJECT DeviceObject,
  33. IN PIRP Irp
  34. );
  35. NTSTATUS
  36. ACPIRootIrpQueryBusRelations(
  37. IN PDEVICE_OBJECT DeviceObject,
  38. IN PIRP Irp,
  39. OUT PDEVICE_RELATIONS *PdeviceRelation
  40. );
  41. NTSTATUS
  42. ACPIRootIrpQueryInterface(
  43. IN PDEVICE_OBJECT DeviceObject,
  44. IN PIRP Irp
  45. );
  46. NTSTATUS
  47. ACPIRootIrpQueryPower(
  48. IN PDEVICE_OBJECT DeviceObject,
  49. IN PIRP Irp
  50. );
  51. NTSTATUS
  52. ACPIRootIrpQueryRemoveOrStopDevice(
  53. IN PDEVICE_OBJECT DeviceObject,
  54. IN PIRP Irp
  55. );
  56. NTSTATUS
  57. ACPIRootIrpRemoveDevice(
  58. IN PDEVICE_OBJECT DeviceObject,
  59. IN PIRP Irp
  60. );
  61. NTSTATUS
  62. ACPIRootIrpSetPower(
  63. IN PDEVICE_OBJECT DeviceObject,
  64. IN PIRP Irp
  65. );
  66. NTSTATUS
  67. ACPIRootIrpStartDevice(
  68. IN PDEVICE_OBJECT DeviceObject,
  69. IN PIRP Irp
  70. );
  71. NTSTATUS
  72. ACPIRootIrpStopDevice(
  73. IN PDEVICE_OBJECT DeviceObject,
  74. IN PIRP Irp
  75. );
  76. NTSTATUS
  77. ACPIRootIrpUnhandled(
  78. IN PDEVICE_OBJECT DeviceObject,
  79. IN PIRP Irp
  80. );
  81. VOID
  82. ACPIRootPowerCallBack(
  83. IN PVOID CallBackContext,
  84. IN PVOID Argument1,
  85. IN PVOID Argument2
  86. );
  87. NTSTATUS
  88. ACPIRootUpdateRootResourcesWithBusResources(
  89. VOID
  90. );
  91. NTSTATUS
  92. ACPIRootUpdateRootResourcesWithHalResources(
  93. VOID
  94. );
  95. #endif