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

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
cmbatt.sys = 3426

[DestinationDirs]
DefaultDestDir = 12

[ControlFlags]
BasicDriverOk = *
ExcludeFromSelect = *

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%ACPI\pnp0c0A.DeviceDesc% = CmBatt_Inst,ACPI\pnp0C0A
%ACPI\acpi0003.DeviceDesc% = AcAdapter_Inst,ACPI\acpi0003

[CmBatt_Inst]
AddReg=CmBatt_Addreg
CopyFiles = CmBattInstCopyFiles
Include = battery.inf
Needs = Battery_Inst

[CmBattInstCopyFiles]
CmBatt.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
Include = battery.inf
Needs = Battery_Inst

[AcAdapterInstCopyFiles]
CmBatt.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

[strings]
;Localizable Strings
MSFT                     = "Microsoft"
ACPI\pnp0c0A.DeviceDesc  = "Microsoft ACPI-Compliant Control Method Battery"
ACPI\acpi0003.DeviceDesc = "Microsoft AC Adapter"
CmBatt.SvcDesc         = "Microsoft ACPI Control Method Battery Driver"
AcAdapter.SvcDesc      = "Microsoft AC Adapter Driver"

;Non-Localizable Strings
SPSVCINST_ASSOCSERVICE   = 0x00000002
SERVICE_KERNEL_DRIVER    = 1
SERVICE_DEMAND_START     = 3
SERVICE_ERROR_NORMAL     = 1
REG_BINARY               = 1
