windows-nt/Source/XPSP1/NT/base/busdrv/acpi/driver/shared/acpintfy.h
2020-09-26 16:20:57 +08:00

56 lines
1,017 B
C

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
acpintfy.h
Abstract:
This module contains that provides the header support for notifying
interested parties of events
Author:
Jason Clark
Ken Reneris
Stephane
Environment:
NT Kernel Mode Driver only
--*/
#ifndef _ACPINTFY_H_
#define _ACPINTFY_H_
extern KSPIN_LOCK NotifyHandlerLock;
NTSTATUS
ACPIRegisterForDeviceNotifications (
IN PDEVICE_OBJECT DeviceObject,
IN PDEVICE_NOTIFY_CALLBACK DeviceNotify,
IN PVOID Context
);
VOID
ACPIUnregisterForDeviceNotifications (
IN PDEVICE_OBJECT DeviceObject,
IN PDEVICE_NOTIFY_CALLBACK DeviceNotify
);
NTSTATUS
EXPORT
NotifyHandler(
ULONG dwEventType,
ULONG dwEventData,
PNSOBJ pnsObj,
ULONG dwParam,
PFNAA CompletionCallback,
PVOID CallbackContext
);
#endif