;==========================================================
; USB Smart Card Driver, SZCCID.inf
;==========================================================

[Version]
Signature="$WINDOWS NT$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
provider=%MFGNAME%
CatalogFile=SzCCID.cat
DriverVer=06/23/2015, 1.7.43.2200


[Manufacturer]
%MFGNAME%=DeviceList

[DeviceList]
"Alcor Micro USB Smart Card Reader"=DriverInstall, USB\VID_058F&PID_9520
"Alcor Micro USB Smart Card Reader"=DriverInstall, USB\VID_058F&PID_9540


;----------------------------------------------------------------------------
;   CopyFile Sections
;----------------------------------------------------------------------------
[SourceDisksNames]
1="Installation Disc for Alcor Micro USB Smart Card Reader"

[SourceDisksFiles]
SzCCID.sys=1
AlcGener.sys=1
;SzCcidV1900.dll=1
SCPwrSetSvr.exe=1
CTAlc001.dll=1

[DestinationDirs]
DriverCopyFiles  = 12
CoInstallCopyFile = 11


;------------------------------------------------------------------------------
;  Driver Installation
;------------------------------------------------------------------------------
[DriverInstall.NT]
;AddReg=DriverAddReg
CopyFiles=DriverCopyFiles

;[DriverAddReg]
;HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
;HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
;HKLM, System\CurrentControlSet\Services\CertPropSvc,Start,0x00010001,2

[DriverInstall.NT.HW]
AddReg=AlcorCustomReg

[AlcorCustomReg]
HKR,,"uSsEnable", 0x00010001, 1
HKR,,"uWwEnable", 0x00010001, 0
HKR,,"uCardOutResume", 0x00010001, 1
HKR,,"uSsMs", 0x00010001, 30000
HKR,,"uDevNameSel", 0x00010001, 2
HKR,,"sVendorName", 0x00000000, "Alcor Micro"
HKR,,"sProductName", 0x00000000, "USB Smart Card Reader"
HKR,,"uDataRateSel", 0x00010001, 0
HKR,,"uPowerPage", 0x00010001, 0
HKR,,"uSpeedMode", 0x00010001, 0
HKR,,"uRemovable", 0x00010001, 1
HKR,,"uSupriseRemovalOK", 0x00010001, 1
HKR,,"uSetDevPwrMode", 0x00010001, 2
HKR,,"uShowAdvSetting", 0x00010001, 1
HKR,,"uReaderMode", 0x00010001, 0
HKR,,"uShowAdvPageForAdmOnly", 0x00010001, 1
HKR,,"uChkVerLaunchUtility", 0x00010001, 1
HKR,,"uCommandMode", 0x00010001, 0
HKR,,"uCMDDelayMilliSec", 0x00010001, 40000
HKR,,"u1stCardDelay", 0x00010001, 800
HKR,,"uMaxCWI", 0x00010001, 13
HKR,,"uDecCWI", 0x00010001, 3
HKR,,"uCardOutDelay", 0x00010001, 200
HKR,,"uManualVolSel", 0x00010001, 0
HKR,,"uD3Enable", 0x00010001, 0

[DriverCopyFiles]
SzCCID.sys
AlcGener.sys

;----------------------------------------------------------------------------
; Co-installer section
;----------------------------------------------------------------------------
[DriverInstall.NT.CoInstallers]
CopyFiles = CoInstallCopyFile
;AddReg = CoInstallersAddReg

[CoInstallCopyFile]
;SzCcidV1900.dll
SCPwrSetSvr.exe
CTAlc001.dll

;[CoInstallersAddReg]
;HKR,,CoInstallers32,0x00010000,"SzCcidV1900.dll,CoInstallerProc"

;--------------------------------------------------------------
[DriverInstall.NT.Services]
Addservice = SzCCID, 2, DriverService

[DriverService]
DisplayName    = "USB SmartCard Reader Driver"
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\SzCCID.sys


;------------------------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------------------------
[Strings]
MFGNAME = "AlcorMicro"


