;
; RSMARTC.INF
;
; Ricoh PCI DEVICE DRIVER INF FILE for Card-Bay Controller
;
; INF file for Windows 98SE/ME/2000/XP
;
; Copyright © RICOH Company, Ltd., 2002-2003

[Version]
Signature="$CHICAGO$"
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Mfg%
CatalogFile=rsmartc.cat
DriverVer=12/22/2003,1.05.00.01

[Manufacturer]
%Mfg% = Models

[ClassInstall32]
AddReg=AddClassReg

[Models]
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-2E48
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-6950
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-R5C590-A0CE
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay_Controller-2AD9
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-7057
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-72AF
%RICOH.DeviceDesc%=Ricoh,PCMCIA\RICOH-Bay8Controller-F1B2
;%RICOH.DeviceDesc%=Ricoh,PCI\VEN_1180&DEV_0596

[ControlFlags]
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-2E48
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-6950
ExcludeFromSelect.nt=PCMCIA\RICOH-R5C590-A0CE
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay_Controller-2AD9
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-7057
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-72AF
ExcludeFromSelect.nt=PCMCIA\RICOH-Bay8Controller-F1B2
;ExcludeFromSelect.nt=PCI\VEN_1180&DEV_0596

[SourceDisksNames]
1 = %Floppy_Description%,,,""
1 = "",rsmartc.sys,,
1 = "", RDR_SVR.vxd,,
1 = "", RDR_SVR.sys,,

[SourceDisksFiles]
rsmartc.sys=1
RDR_SVR.VxD=1
RDR_SVR.sys=1

[SourceDisksFiles.x86]
rsmartc.sys=1

[DestinationDirs]
DefaultDestDir=10,system32\drivers
RICOH.CopyFiles = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
RDR.vxd.CopyFiles=11
RDR.sys.CopyFiles=10,system32\drivers

[AddClassReg]
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKR,,,0,%ClassName%
HKR,,NoInstallClass,,1
HKR,,Installer32,,"winscard.dll,ClassInstall32"
HKR,,Icon,,-25

[RICOH.CopyFiles]
rsmartc.sys

[RDR.vxd.CopyFiles]
Rdr_Svr.vxd,,

[RDR.sys.CopyFiles]
Rdr_Svr.sys,,

[RICOH.AddReg]
HKR,,ShortProviderName,0,%ShortProviderName%
HKR,,ReaderName,0,%RICOH.DeviceDesc%
;HKR,, ClassB , 0x00010001,1
;HKR,, Poll , 0x00010001,1
;HKR,, FValue , 0x00010001, 1
;HKR,, DValue , 0x00010001, 1
;HKR,, ReduceCpuUtil , 0x00010001,1
;HKR,,ClockType,0x00010001,1
;HKR,, TrayIcon , 0x00010001,1

[RICOH.AddRegLoader]
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,rsmartc.sys

[RICOH.NT.AddReg]
;HKR,, ClassB , 0x00010001,1
;HKR,, Poll , 0x00010001,1
;HKR,, FValue , 0x00010001, 1
;HKR,, DValue , 0x00010001, 1
;HKR,, ReduceCpuUtil , 0x00010001,1
;HKR,,ClockType,0x00010001,1
HKR,, TrayIcon , 0x00010001,1
HKLM, System\CurrentControlSet\Services\Pcmcia\Parameters,DisableIsaToPciRouting,0x00010001,0
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,DLLName,0,wlnotify.dll
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logon,0,SCardStartCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Logoff,0,SCardStopCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Lock,0,SCardSuspendCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Unlock,0,SCardResumeCertProp
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Enabled,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Impersonate,0x00010001,1
HKLM, SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Notify\ScCertProp,Asynchronous,0x00010001,1

[RDR.vxd.AddReg]
HKLM, "\System\CurrentControlSet\Services\VxD\RDR_SVR" ,,,
HKLM, "\System\CurrentControlSet\Services\VxD\RDR_SVR" ,"DriverDesc",, %Description%
HKLM, "\System\CurrentControlSet\Services\VxD\RDR_SVR" ,"StaticVxD",, "RDR_SVR.VXD"
HKLM, "\System\CurrentControlSet\Services\VxD\RDR_SVR" ,"LoadedState",,"UnLoaded"

[RDR.sys.AddReg]
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966",,,
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "DevLoader",, "*ntkern"
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "NTMPDriver",, "Rdr_Svr.sys"
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "ProviderName",, %Mfg%
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "DriverDesc",, %Description%
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "MatchingDeviceId",, "*PNP1111"
HKLM, "\System\CurrentControlSet\Services\Class\SmartCardReader\1966", "DriverDate",, " 5-17-2002"

HKLM, "Enum\Root\SmartCardReader",,,
HKLM, "Enum\Root\SmartCardReader\0000", "ClassGUID",, "{50DD5230-BA8A-11D1-BF5D-0000F805F530}"
HKLM, "Enum\Root\SmartCardReader\0000", "Mfg",, %Mfg%
HKLM, "Enum\Root\SmartCardReader\0000", "HardwareID",, "*PNP1111"
HKLM, "Enum\Root\SmartCardReader\0000", "Driver",, "SmartCardReader\1966"
HKLM, "Enum\Root\SmartCardReader\0000", "ConfigFlags", 1, 00,00,00,00
HKLM, "Enum\Root\SmartCardReader\0000", "Capabilities", 1, 14,00,00,00

[RICOH]
CopyFiles= RICOH.CopyFiles, RDR.vxd.CopyFiles, RDR.sys.CopyFiles
AddReg= RICOH.AddReg, RICOH.AddRegLoader, RDR.vxd.AddReg,RDR.sys.AddReg

[RICOH.NT]
CopyFiles= RICOH.CopyFiles
AddReg = RICOH.NT.AddReg

[RICOH.NT.Services]
AddService = %RICOH.DeviceDesc%,0x00000002,RICOH_Service_Inst,RICOH_EventLog_Inst

[RICOH_Service_Inst]
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\rsmartc.sys
DisplayName     = %RICOH.DeviceDesc%
AddReg= RICOH.AddReg

[RICOH_EventLog_Inst]
AddReg=RICOH.AddEventLogReg

[RICOH.AddEventLogReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\rsmartc.sys"
HKR,,TypesSupported,0x00010001,7

[Strings]
Mfg = "RICOH Company, Ltd."
ShortProviderName = "RICOH"
Floppy_Description = ""
RICOH.DeviceDesc="RICOH SmartCard Reader"
ClassName="Smart Card Readers"
Description="Server for SmartCard Reader"
