; Copyright (c) 2010-2015 Elcom
;
; Elcom Communications Port CDC
;

[Version]
Signature="$Windows NT$"
CatalogFile=elcom-cdc.cat
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%ELCOM%
LayoutFile=layout.inf
DriverVer=06/30/2015, 3.2

[Manufacturer]
%ELCOM%=DeviceList, NTia64, NTamd64

[DeviceList]
%ESP%=DriverInstall, USB\VID_1d22&PID_20f0
%ESPC%=DriverInstall, USB\VID_1d22&PID_20f1&MI_01
%EURO50%=DriverInstall, USB\VID_1d22&PID_2000
%EURO50I%=DriverInstall, USB\VID_1d22&PID_2008&MI_01
%EURO150%=DriverInstall, USB\VID_1d22&PID_2010
%EFOX%=DriverInstall, USB\VID_1d22&PID_2020
%JODO%=DriverInstall,USB\VID_1d22&PID_1010&MI_01

[DeviceList.NTia64] 
%ESP%=DriverInstall, USB\VID_1d22&PID_20f0
%ESPC%=DriverInstall, USB\VID_1d22&PID_20f1&MI_01
%EURO50%=DriverInstall, USB\VID_1d22&PID_2000
%EURO50I%=DriverInstall, USB\VID_1d22&PID_2008&MI_01
%EURO150%=DriverInstall, USB\VID_1d22&PID_2010
%EFOX%=DriverInstall, USB\VID_1d22&PID_2020
%JODO%=DriverInstall,USB\VID_1d22&PID_1010&MI_01

[DeviceList.NTamd64] 
%ESP%=DriverInstall, USB\VID_1d22&PID_20f0
%ESPC%=DriverInstall, USB\VID_1d22&PID_20f1&MI_01
%EURO50%=DriverInstall, USB\VID_1d22&PID_2000
%EURO50I%=DriverInstall, USB\VID_1d22&PID_2008&MI_01
%EURO150%=DriverInstall, USB\VID_1d22&PID_2010
%EFOX%=DriverInstall, USB\VID_1d22&PID_2020
%JODO%=DriverInstall,USB\VID_1d22&PID_1010&MI_01

[DestinationDirs] 
DefaultDestDir=12 

[SourceDisksFiles]

[SourceDisksNames]

[DriverCopyFiles]
usbser.sys,,,0x20
serenum.sys,,,0x20

;------------------------------------------------------------------------------
;  Installation Configuration
;------------------------------------------------------------------------------

[DriverInstall] 
include=mdmcpq.inf
CopyFiles=DriverCopyFiles
AddReg=DriverInstall.AddReg 

[DriverInstall.HW] 
AddReg=DriverInstall.HW.AddReg 

[DriverInstall.AddReg] 
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[DriverInstall.HW.AddReg]
HKR,,NTMPDriver,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,PortSubClass,1,01
HKR,,"UpperFilters",0x00010000,"serenum" 

[DriverInstall.Services] 
AddService=usbser, 0x00000002, UsbserService
AddService=Serenum,,SerenumService

;------------------------------------------------------------------------------
;  Usbser Service
;------------------------------------------------------------------------------

[UsbserService] 
DisplayName=%USBSER.DESC% 
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\usbser.sys 
LoadOrderGroup = Base

;------------------------------------------------------------------------------
;  Serenum Service
;------------------------------------------------------------------------------

[SerenumService] 
DisplayName=%SERENUM.DESC%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\serenum.sys
LoadOrderGroup = PNP Filter

;------------------------------------------------------------------------------
; String Definitions
;------------------------------------------------------------------------------

[Strings]
ELCOM="Elcom s.r.o."
DESCRIPTION="Elcom Communications Port"
USBSER.DESC = "USB Serial Driver"
SERENUM.DESC = "Serenum Filter Driver"
ESP="Elcom Service Port"
ESPC="Elcom Service Port Composite"
EURO50="Euro-50 Mini Communications Port"
EURO50I="Euro-50i Communications Port"
EURO150="Euro-150 Communications Port"
EFOX="EFox Port"
JODO="Journal Downloader Port"
