; File: ldevusbu.inf
;
; Installation information for the L_Card USB devices
; Copyright 2013, L_Card Ltd.
;

[Version]
Signature="$CHICAGO$"
Class=L-Card_PCI_Devices
ClassGUID={99B07100-C45F-11D4-8481-000021FCB2E5}
Provider=%LCARD%
DriverVer=12/18/2017,7.0.0.5

;mm/dd/yyyy
;LayoutFile=layout.inf
CatalogFile=ldevpcim.cat

[Manufacturer]
%MfgName%=LCard, NTx86, NTamd64

[LCard.NTx86]
%L-Card.DeviceDesc0% = LCARD.Dev, PCI\VEN_1172&DEV_0791&SUBSYS_4C373931&REV_00
;%L-Card.DeviceDesc0% = LCARD.Dev, PCI\VEN_0FFF&DEV_0FFF&SUBSYS_4C373931&REV_01

[LCard.NTamd64]
%L-Card.DeviceDesc0% = LCARD.Dev, PCI\VEN_1172&DEV_0791&SUBSYS_4C373931&REV_00

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-5"


[DestinationDirs]
LCARD.Files.Ext = 10,System32\Drivers
LCARD.Files.Inf = 10,INF
LCARD.CoInst.Files = 11


[SourceDisksFiles.x86]
ldevs.sys=1,\32
ldevpcim.sys=1,\32
WdfCoInstaller01009.dll = 1,\32 ; make sure the number matches with SourceDisksNames

[SourceDisksFiles.amd64]
ldevs.sys=1,\64
ldevpcim.sys=1,\64
WdfCoInstaller01009.dll = 1,\64 ; make sure the number matches with SourceDisksNames


[SourceDisksNames]
1=%INSTDISK%,,,.

[LCARD.Dev.NT]
CopyFiles=LCARD.Files.Ext,LCARD.Files.Inf
AddReg=LCARD.AddReg

[LCARD.Dev.NT.Services]
Addservice = ldevpcim, 0x00000002, LCARD.AddService

[LCARD.AddService]
DisplayName    = %LCARD.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ldevpcim.sys
LoadOrderGroup = Base

[LCARD.AddReg]
HKR,"Parameters","BoardType",0x00010001,19

[LCARD.Dev.NT.CoInstallers]
CopyFiles=LCARD.CoInst.Files
AddReg=LCARD.CoInst.AddReg

[LCARD.Dev.NT.Wdf]
KmdfService = ldevpcim, LCARD.wdfsect

[LCARD.Files.Ext]
ldevs.sys
ldevpcim.sys

[LCARD.Files.Inf]
;ldevpcim.inf

[LCARD.CoInst.AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[LCARD.CoInst.Files]
WdfCoInstaller01009.dll

[LCARD.wdfsect]
KmdfLibraryVersion = 1.9

;---------------------------------------------------------------;

[Strings]
LCARD="L_Card"
MfgName="L_Card"
L-Card.DeviceDesc0 = "L791"
LCARD.SvcDesc="ldevpcim.sys WDM driver for L_Card PCI BusMaster devices"
DeviceClassName="L_Card PCI devices"
INSTDISK="L_Card Installation Disc"

[Strings.0419]
LCARD="Л_Кард"
MfgName="Л_Кард"
L-Card.DeviceDesc0 = "L791"
LCARD.SvcDesc="ldevpcim.sys WDM драйвер для PCI BusMaster устройств фирмы Л_Кард"
DeviceClassName="PCI устройства от фирмы Л_Кард"
INSTDISK="Установочный диск Л_Кард"
