; necbatt.inf
;
; Installation inf for the Device that needs filtering adapter.
;
; (c) Copyright 1999 Microsoft
;

[Version]
Signature="$Windows NT$"
Provider=%NEC%
ClassGUID={72631e54-78a4-11d0-bcf7-00aa00b7b32a}
Class=Battery
CatalogFile=necbatt.cat
DriverVer=10/27/2008, 1.0.0.3

[DestinationDirs]
DefaultDestDir   = 12

;
; Driver information
;

[Manufacturer]
%NEC%   = NEC.Mfg, NTx86, NTamd64

[NEC.Mfg.NTx86]
%ACPI\pnp0c0A.DeviceDesc% = necbatt, ACPI\pnp0C0A

[NEC.Mfg.NTamd64]
%ACPI\pnp0c0A.DeviceDesc% = necbatt, ACPI\pnp0C0A


;
; General installation section
;

[necbatt]
; perform port related actions from keyboard.inf
Include=battery.inf
Needs=CmBatt_Inst

; Copy the driver over
CopyFiles=necbatt.CopyFiles


;
; File sections
;

[necbatt.CopyFiles]
necbatt.sys


;
; Service Installation
;

[necbatt.Services]
AddService = necbatt,  , necbatt_Service_Inst
; Install the port driver and mouclass from keyboard.inf
Include=battery.inf
Needs=CmBatt_Inst.Services

[necbatt_Service_Inst]
DisplayName    = %necbatt.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Filter
ServiceBinary  = %12%\necbatt.sys

[necbatt.HW]
; Add the device upper filter
AddReg = necbatt.HW.AddReg

; run the directives need by the port driver
;Include=battery.inf
;Needs=STANDARD_Inst.HW

[necbatt.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"necbatt"


;
; Source file information
;

; use [SourceDisksNames.x86] for x86 only installs
; use [SourceDisksNames.alpha] for alpha only installs

[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
necbatt.sys = 1,,


[Strings]

;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

DiskId1 = "Battery Filter Driver Installation Disk #1"
NEC = "NEC"
necbatt.SvcDesc="Battery Filter Driver"
ACPI\pnp0c0A.DeviceDesc  = "Microsoft ACPI-Compliant Control Method Battery"

