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.
 
 
 
 
 
 

99 lines
1.9 KiB

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
init.h
Abstract:
This module contains the init code header
Author:
Stephane Plante (splante)
Environment:
NT Kernel Model Driver only
--*/
#ifndef _INIT_H_
#define _INIT_H_
VOID
ACPIInitDeleteChildDeviceList(
IN PDEVICE_EXTENSION DeviceExtension
);
VOID
ACPIInitDeleteDeviceExtension(
IN PDEVICE_EXTENSION DeviceExtension
);
NTSTATUS
ACPIInitDosDeviceName(
IN PDEVICE_EXTENSION DeviceExtension
);
NTSTATUS
ACPIInitMultiString(
PUNICODE_STRING MultiString,
...
);
VOID
ACPIInitPowerRequestCompletion(
IN PDEVICE_EXTENSION DeviceExtension,
IN PVOID Context,
IN NTSTATUS Status
);
VOID
ACPIInitReadRegistryKeys(
);
VOID
ACPIInitRemoveDeviceExtension(
IN PDEVICE_EXTENSION DeviceExtension
);
VOID
ACPIInitResetDeviceExtension(
IN PDEVICE_EXTENSION DeviceExtension
);
NTSTATUS
ACPIInitStartACPI(
IN PDEVICE_OBJECT DeviceObject
);
NTSTATUS
ACPIInitStartDevice(
IN PDEVICE_OBJECT DeviceObject,
IN PCM_RESOURCE_LIST ResourceList,
IN PACPI_POWER_CALLBACK CallBack,
IN PVOID CallBackContext,
IN PIRP Irp
);
NTSTATUS
ACPIInitStopACPI(
IN PDEVICE_OBJECT DeviceObject
);
NTSTATUS
ACPIInitStopDevice(
IN PDEVICE_EXTENSION DeviceExtension,
IN BOOLEAN UnlockDevice
);
NTSTATUS
ACPIInitUnicodeString(
PUNICODE_STRING MultiString,
PCHAR Buffer
);
#endif