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.

55 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. acpintfy.h
  5. Abstract:
  6. This module contains that provides the header support for notifying
  7. interested parties of events
  8. Author:
  9. Jason Clark
  10. Ken Reneris
  11. Stephane
  12. Environment:
  13. NT Kernel Mode Driver only
  14. --*/
  15. #ifndef _ACPINTFY_H_
  16. #define _ACPINTFY_H_
  17. extern KSPIN_LOCK NotifyHandlerLock;
  18. NTSTATUS
  19. ACPIRegisterForDeviceNotifications (
  20. IN PDEVICE_OBJECT DeviceObject,
  21. IN PDEVICE_NOTIFY_CALLBACK DeviceNotify,
  22. IN PVOID Context
  23. );
  24. VOID
  25. ACPIUnregisterForDeviceNotifications (
  26. IN PDEVICE_OBJECT DeviceObject,
  27. IN PDEVICE_NOTIFY_CALLBACK DeviceNotify
  28. );
  29. NTSTATUS
  30. EXPORT
  31. NotifyHandler(
  32. ULONG dwEventType,
  33. ULONG dwEventData,
  34. PNSOBJ pnsObj,
  35. ULONG dwParam,
  36. PFNAA CompletionCallback,
  37. PVOID CallbackContext
  38. );
  39. #endif