; Copyright (c) 2009-2013  NEC Personal Computers
;Module Name:
;
;    NECBATTERY.INF
;
;Abstract:
;    INF file for the Device communicates with PM Driver


[Version]
Signature="$Windows NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%NECPC%
CatalogFile=necbattery.cat
DriverVer=12/11/2014,1.0.0.5

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
CoInstallers_CopyFiles=11

[Manufacturer]
%NECPC%=NECPC.Mfg,NTamd64

[NECPC.Mfg.NTamd64]
%DeviceName%=necbattery, Root\necbattery ; TODO: edit hw-id

;[ClassInstall32]
;AddReg=SampleClass_RegistryAdd

;[SampleClass_RegistryAdd]
;HKR,,,,%ClassName%
;HKR,,Icon,,"-10"



; =================== UMDF Device ==================================

[necbattery.NT]
CopyFiles=UMDriverCopy

[necbattery.NT.hw]

[necbattery.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[necbattery.NT.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[necbattery.NT.Wdf]
UmdfService=necbattery,necbattery_Install
UmdfServiceOrder=necbattery

[necbattery_Install]
UmdfLibraryVersion=1.11.0 
ServiceBinary=%12%\UMDF\necbattery.dll
DriverCLSID={cbb968c4-aeb5-4c59-881a-cfc3ff334367}

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = Base

[CoInstallers_CopyFiles]
WudfUpdate_01011.dll

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01011.dll"

[SourceDisksFiles]
necbattery.dll=1
WudfUpdate_01011.dll=1

[SourceDisksNames]
1 = %DiskName%

[UMDriverCopy]
necbattery.dll

; =================== Generic ==================================

[Strings]
NECPC="NEC Personal Computers, Ltd."
ClassName="NEC Battery" ; TODO: edit ClassName
DiskName = "NEC Battery Installation Disk"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="NEC Battery Device"
