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.
|
|
/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
internal.h
Abstract:
This file contains the headers for internal.c
Author:
Stephane Plante (splante)
Environment:
NT Kernel Model Driver only
Revision History:
29-Sep-97: Added Support for moving PowerRequest lists around
--*/
#ifndef _INTERNAL_H_
#define _INTERNAL_H_
extern KSPIN_LOCK AcpiUpdateFlagsLock; extern UCHAR FirstSetLeftBit[]; extern UCHAR HexDigit[];
BOOLEAN ACPIInternalConvertToNumber( IN UCHAR ValueLow, IN UCHAR ValueHigh, IN PULONG Output );
VOID ACPIInternalDecrementIrpReferenceCount( IN PDEVICE_EXTENSION DeviceExtension );
NTSTATUS ACPIInternalGetDeviceCapabilities( IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_CAPABILITIES DeviceCapabilities );
PDEVICE_EXTENSION ACPIInternalGetDeviceExtension( IN PDEVICE_OBJECT DeviceObject );
NTSTATUS ACPIInternalGetDispatchTable( IN PDEVICE_OBJECT DeviceObject, OUT PDEVICE_EXTENSION *DeviceExtension, OUT PIRP_DISPATCH_TABLE *DispatchTable );
NTSTATUS ACPIInternalGrowBuffer( IN OUT PVOID *Buffer, IN ULONG OriginalSize, IN ULONG NewSize );
NTSTATUS ACPIInternalIsPci( IN PDEVICE_OBJECT DeviceObject );
BOOLEAN ACPIInternalIsReportedMissing( IN PDEVICE_EXTENSION DeviceExtension );
VOID ACPIInternalMoveList( IN PLIST_ENTRY FromList, IN PLIST_ENTRY ToList );
VOID ACPIInternalMovePowerList( IN PLIST_ENTRY FromList, IN PLIST_ENTRY ToList );
NTSTATUS ACPIInternalRegisterPowerCallBack( IN PDEVICE_EXTENSION DeviceExtension, IN PCALLBACK_FUNCTION CallBackFunction );
NTSTATUS ACPIInternalSendSynchronousIrp( IN PDEVICE_OBJECT DeviceObject, IN PIO_STACK_LOCATION TopStackLocation, OUT PVOID *Information );
NTSTATUS ACPIInternalSetDeviceInterface( IN PDEVICE_OBJECT DeviceObject, IN LPGUID InterfaceGuid );
VOID ACPIInternalUpdateDeviceStatus( IN PDEVICE_EXTENSION DeviceExtension, IN ULONG DeviceStatus );
ULONGLONG ACPIInternalUpdateFlags( IN PULONGLONG FlagLocation, IN ULONGLONG NewFlags, IN BOOLEAN Clear );
#endif
|