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

/*++
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