windows-nt/Source/XPSP1/NT/base/busdrv/acpi/driver/shared/acpintfy.h

56 lines
1,017 B
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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