
[Version]
Signature="$WINDOWS NT$"
Class=Battery
ClassGuid={72631e54-78a4-11d0-bcf7-00aa00b7b32a}
Provider=%MSFT%
DriverVer=06/21/2006,6.1.7600.16385

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
hidbatt.sys 		= 3426
battc.sys 			= 3426
compbatt.sys            = 3426
cmbatt.sys 	= 3426

[DestinationDirs]
DefaultDestDir = 12

[ControlFlags]
BasicDriverOk = *
ExcludeFromSelect = *

[Manufacturer]
%MSFT%=Microsoft,NTx86

[Microsoft.NTx86]
%ACPI\pnp0c0A.DeviceDesc% = CmBatt_Inst,ACPI\pnp0C0A
%ACPI\acpi0003.DeviceDesc% = AcAdapter_Inst,ACPI\acpi0003
%HID_DEVICE_BATTERY.DeviceDesc% = HidBatt_Inst,HID_DEVICE_UP:0084_U:0004
%*COMPBATT.DeviceDesc% = COMPBATT_Inst,COMPOSITE_BATTERY
%PowerWareUPS.DeviceDesc% = NO_DRV,SERENUM\DEL0001
%PowerWareUPS.DeviceDesc% = NO_DRV,SERENUM\EXI0001
%PowerWareUPS.DeviceDesc% = NO_DRV,SERENUM\FPS0001
%APC.DeviceDesc% = NO_DRV,SERENUM\APC0000
%APC.DeviceDesc% = NO_DRV,SERENUM\APC0001
%APC.DeviceDesc% = NO_DRV,SERENUM\APC0002
%APC.DeviceDesc% = NO_DRV,SERENUM\APC0003

[COMPBATT_Inst.NT]
Copyfiles = CompbattCopyFiles

[CompbattCopyFiles]
compbatt.sys,,,0x100
battc.sys,,,0x100

[COMPBATT_Inst.NT.Services]
AddService = Compbatt,%SPSVCINST_TAGTOFRONT%,COMPBATT_Service_Inst

[COMPBATT_Service_Inst]
DisplayName    = %COMPBATT.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_CRITICAL%
ServiceBinary  = %12%\compbatt.sys
LoadOrderGroup = System Bus Extender

[HidBatt_Inst]
CopyFiles = HidBattInstCopyFiles

[HidBattInstCopyFiles]
hidbatt.sys,,,0x100
battc.sys,,,0x100

[HidBatt_Inst.Services]
AddService=HidBatt,%SPSVCINST_ASSOCSERVICE%,HidBatt_Service_Inst

[HidBatt_Service_Inst]
DisplayName    = %HidBatt.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\HidBatt.sys

[CmBatt_Inst]
AddReg=CmBatt_Addreg
CopyFiles = CmBattInstCopyFiles

[CmBattInstCopyFiles]
CmBatt.sys,,,0x100
battc.sys,,,0x100

[CmBatt_Addreg]
HKR,,PowerSourceType,%REG_BINARY%,00,00,00,00

[CmBatt_Inst.Services]
AddService = CmBatt,%SPSVCINST_ASSOCSERVICE%,CmBatt_Service_Inst

[CmBatt_Service_Inst]
DisplayName    = %CmBatt.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\CmBatt.sys

[AcAdapter_Inst]
AddReg=AcAdapter_Addreg
CopyFiles = AcAdapterInstCopyFiles

[AcAdapterInstCopyFiles]
CmBatt.sys,,,0x100
battc.sys,,,0x100

[AcAdapter_Addreg]
HKR,,PowerSourceType,%REG_BINARY%,01,00,00,00

[AcAdapter_Inst.Services]
AddService = CmBatt,%SPSVCINST_ASSOCSERVICE%,AcAdapter_Service_Inst

[AcAdapter_Service_Inst]
DisplayName    = %AcAdapter.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\CmBatt.sys

[NO_DRV]

[NO_DRV.Services]
AddService = , %SPSVCINST_ASSOCSERVICE%   ; null service install

[strings]
;Localizable Strings
MSFT                     = "Microsoft"
ACPI\pnp0c0A.DeviceDesc  = "Microsoft ACPI-Compliant Control Method Battery"
ACPI\acpi0003.DeviceDesc = "Microsoft AC Adapter"
HID_DEVICE_BATTERY.DeviceDesc = "HID UPS Battery"
*COMPBATT.DeviceDesc          = "Microsoft Composite Battery"
CmBatt.SvcDesc         = "Microsoft ACPI Control Method Battery Driver"
AcAdapter.SvcDesc      = "Microsoft AC Adapter Driver"
HidBatt.SvcDesc          = "HID UPS Battery Driver"
COMPBATT.SvcDesc              = "Microsoft Composite Battery Driver"
PowerWareUPS.DeviceDesc  = "PowerWare UPS"
APC.DeviceDesc           = "APC UPS"

;Non-Localizable Strings
SPSVCINST_TAGTOFRONT     = 0x00000003
SPSVCINST_ASSOCSERVICE   = 0x00000002
SERVICE_KERNEL_DRIVER    = 1
SERVICE_BOOT_START       = 0
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL     = 1
SERVICE_ERROR_CRITICAL   = 3
REG_SZ                   = 0
REG_EXPAND_SZ            = 0x00020000
REG_APPEND_MULTI_SZ      = 0x00010008
REG_BINARY               = 1
