;/*++
;
; Prox-PU/CU
;Abstract:
;    INF file for installing  device drivers
;
;--*/
[Version]
Signature="$Windows NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider="Gemalto"
DriverVer=02/24/2009,4.0.0.2
CatalogFile=ProxPU_CU.cat


[DestinationDirs]
DefaultDestDir = 12


;*****************************************
;  Prox-PU/CU Device  Install Section
;*****************************************

[Manufacturer]
%StdMfg%=Standard

[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%ProxPU_CUDevice.DeviceDescUsb%=ProxPU_CU_Device, USB\VID_08E6&PID_5501

[ProxPU_CU_Device.NT]
CopyFiles=ProxPU_CU_Device.NT.Copy

[ProxPU_CU_Device.NT.Copy]
ProxPU_CU.sys

[ProxPU_CU_Device.NT.HW]
AddReg=ProxPU_CU_Device.NT.HW.AddReg

[ProxPU_CU_Device.NT.HW.AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","COM",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","LedOn",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","LedMode",0x00010001,1
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","Baudrate",0x00010001,614400
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","DataRateMax",0x00010001,424
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","LapsPoolling",0x00010001,1000
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","PriorityMifare",0x00010001,0
HKLM,"SYSTEM\CurrentControlSet\Services\ProxPU_CU\Parameters\Device0","CommandBidonSent",0x00010001,1
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\system32\drivers\ProxPU_CU.sys"
HKR,,TypesSupported,0x00010001,7
HKLM,System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2

;-------------- Service installation

[ProxPU_CU_Device.NT.Services]
AddService = ProxPU_CU, %SPSVCINST_ASSOCSERVICE%, ProxPU_CU_Service_Inst

[ProxPU_CU_Service_Inst]
DisplayName    = %ProxPU_CU.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ProxPU_CU.sys



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

[SourceDisksFiles]
ProxPU_CU.sys  = 1,,

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
Gemplus = "Gemalto"
StdMfg = "Gemalto"
ClassName = "SmartCardReader"
DiskId1 = "ProxPU_CU Device Installation Disk #1"
ProxPU_CUDevice.DeviceDescUsb = "Prox-PU/CU PC/SC Contactless Reader"
ProxPU_CU.SVCDESC = "Prox-PU/CU1 PC/SC Contactless Reader"
