;
; CAN-200PCIE.inf
;
; Copyright (c) Elcus Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=Sample ; TODO: edit Class
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
Provider=%ManufacturerName%
CatalogFile=CAN-200PCIE.cat
DriverVer=11/30/2017,1.3.0

; ================= Class section =====================

[ClassInstall32]
Addreg=SampleClassReg

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[SourceDisksNames]
1 = %DiskName%,,,""

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTx86

[Standard.NTx86]
%CAN-200PCIE.DeviceDesc%=CAN-200PCIE_Device, PCI\VEN_10b5&DEV_9056&SUBSYS_0302e1c5&REV_00
%CAN-200PCI.DeviceDesc%=CAN-200PCIE_Device, PCI\VEN_10b5&DEV_9030&SUBSYS_0301e1c5&REV_00
%CAN-200-104PCI.DeviceDesc%=CAN-200PCIE_Device, PCI\VEN_e1c5&DEV_9030&SUBSYS_0303e1c5&REV_00

[CAN-200PCIE_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
CAN-200PCIE.sys

;-------------- Service installation
[CAN-200PCIE_Device.NT.Services]
AddService = CAN-200PCIE,%SPSVCINST_ASSOCSERVICE%, CAN-200PCIE_Service_Inst

; -------------- CAN-200PCIE driver install sections
[CAN-200PCIE_Service_Inst]
DisplayName    = %CAN-200PCIE.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\CAN-200PCIE.sys
LoadOrderGroup = Extended Base

;
;--- CAN-200PCIE_Device Coinstaller installation ------
;

[DestinationDirs]
DefaultDestDir = 12
CAN-200PCIE_Device_CoInstaller_CopyFiles = 11

[CAN-200PCIE_Device.NT.CoInstallers]
AddReg=CAN-200PCIE_Device_CoInstaller_AddReg
CopyFiles=CAN-200PCIE_Device_CoInstaller_CopyFiles

[CAN-200PCIE_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"

[CAN-200PCIE_Device_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[SourceDisksFiles]
CAN-200PCIE.sys  = 1,,
WdfCoInstaller01011.dll=1 ; make sure the number matches with SourceDisksNames

[CAN-200PCIE_Device.NT.Wdf]
KmdfService =  CAN-200PCIE, CAN-200PCIE_wdfsect
[CAN-200PCIE_wdfsect]
KmdfLibraryVersion = 1.11

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Elcus"
ClassName="CAN-200PCI/CAN-200PCIe Device"
DiskName = "CAN-200PCI/CAN-200PCIe Installation Disk"
CAN-200PCIE.DeviceDesc = "CAN-200PCIe Device"
CAN-200PCI.DeviceDesc = "CAN-200PCI Device"
CAN-200-104PCI.DeviceDesc = "CAN-200-104PCI Device"
CAN-200PCIE.SVCDESC = "CAN-200PCI/CAN-200PCIe Service"
