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.

62 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. button.h
  5. Abstract:
  6. This module contains the enumerated for the ACPI driver, NT version
  7. Author:
  8. Stephane Plante (splante)
  9. Environment:
  10. NT Kernel Model Driver only
  11. --*/
  12. #ifndef _BUTTON_H_
  13. #define _BUTTON_H_
  14. extern KSPIN_LOCK AcpiButtonLock;
  15. extern LIST_ENTRY AcpiButtonList;
  16. extern PDEVICE_OBJECT FixedButtonDeviceObject;
  17. VOID
  18. ACPIButtonCancelRequest(
  19. IN PDEVICE_OBJECT DeviceObject,
  20. IN PIRP Irp
  21. );
  22. BOOLEAN
  23. ACPIButtonCompletePendingIrps(
  24. IN PDEVICE_OBJECT DeviceObject,
  25. IN ULONG ButtonEvent
  26. );
  27. NTSTATUS
  28. ACPIButtonDeviceControl (
  29. IN PDEVICE_OBJECT DeviceObject,
  30. IN PIRP Irp
  31. );
  32. NTSTATUS
  33. ACPIButtonEvent (
  34. IN PDEVICE_OBJECT DeviceObject,
  35. IN ULONG ButtonEvent,
  36. IN PIRP Irp
  37. );
  38. NTSTATUS
  39. ACPIButtonStartDevice (
  40. IN PDEVICE_OBJECT DeviceObject,
  41. IN PIRP Irp
  42. );
  43. #endif