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.

53 lines
788 B

  1. /*++
  2. Copyright (c) 2002 Microsoft Corporation
  3. Module Name:
  4. power.h
  5. Abstract:
  6. External definitions for intermodule functions.
  7. Revision History:
  8. --*/
  9. #ifndef _SDBUS_POWER_H_
  10. #define _SDBUS_POWER_H_
  11. //
  12. // Power management routines
  13. //
  14. NTSTATUS
  15. SdbusSetFdoPowerState(
  16. IN PDEVICE_OBJECT Fdo,
  17. IN OUT PIRP Irp
  18. );
  19. NTSTATUS
  20. SdbusSetPdoPowerState(
  21. IN PDEVICE_OBJECT Pdo,
  22. IN OUT PIRP Irp
  23. );
  24. VOID
  25. SdbusPdoPowerWorkerDpc(
  26. IN PKDPC Dpc,
  27. IN PVOID DeferredContext,
  28. IN PVOID SystemArgument1,
  29. IN PVOID SystemArgument2
  30. );
  31. VOID
  32. SdbusFdoPowerWorkerDpc(
  33. IN PKDPC Dpc,
  34. IN PVOID Context,
  35. IN PVOID SystemArgument1,
  36. IN PVOID SystemArgument2
  37. );
  38. #endif // _SDBUS_POWER_H_