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

100 lines
1.8 KiB
C

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