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.

99 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. init.h
  5. Abstract:
  6. This module contains the init code header
  7. Author:
  8. Stephane Plante (splante)
  9. Environment:
  10. NT Kernel Model Driver only
  11. --*/
  12. #ifndef _INIT_H_
  13. #define _INIT_H_
  14. VOID
  15. ACPIInitDeleteChildDeviceList(
  16. IN PDEVICE_EXTENSION DeviceExtension
  17. );
  18. VOID
  19. ACPIInitDeleteDeviceExtension(
  20. IN PDEVICE_EXTENSION DeviceExtension
  21. );
  22. NTSTATUS
  23. ACPIInitDosDeviceName(
  24. IN PDEVICE_EXTENSION DeviceExtension
  25. );
  26. NTSTATUS
  27. ACPIInitMultiString(
  28. PUNICODE_STRING MultiString,
  29. ...
  30. );
  31. VOID
  32. ACPIInitPowerRequestCompletion(
  33. IN PDEVICE_EXTENSION DeviceExtension,
  34. IN PVOID Context,
  35. IN NTSTATUS Status
  36. );
  37. VOID
  38. ACPIInitReadRegistryKeys(
  39. );
  40. VOID
  41. ACPIInitRemoveDeviceExtension(
  42. IN PDEVICE_EXTENSION DeviceExtension
  43. );
  44. VOID
  45. ACPIInitResetDeviceExtension(
  46. IN PDEVICE_EXTENSION DeviceExtension
  47. );
  48. NTSTATUS
  49. ACPIInitStartACPI(
  50. IN PDEVICE_OBJECT DeviceObject
  51. );
  52. NTSTATUS
  53. ACPIInitStartDevice(
  54. IN PDEVICE_OBJECT DeviceObject,
  55. IN PCM_RESOURCE_LIST ResourceList,
  56. IN PACPI_POWER_CALLBACK CallBack,
  57. IN PVOID CallBackContext,
  58. IN PIRP Irp
  59. );
  60. NTSTATUS
  61. ACPIInitStopACPI(
  62. IN PDEVICE_OBJECT DeviceObject
  63. );
  64. NTSTATUS
  65. ACPIInitStopDevice(
  66. IN PDEVICE_EXTENSION DeviceExtension,
  67. IN BOOLEAN UnlockDevice
  68. );
  69. NTSTATUS
  70. ACPIInitUnicodeString(
  71. PUNICODE_STRING MultiString,
  72. PCHAR Buffer
  73. );
  74. #endif