; cxdonwdm.inf
; Copyright (c) 2000 - 2010 HID Global Corporation

[Version]
Signature=$CHICAGO$
Class=SmartCardReader
ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
Provider=%Provider%
DriverVer=01/21/2010,1.0.5.0
CatalogFile=cxdonwdm.cat

[SourceDisksNames]
1=%DiskDescription%,,

[SourceDisksFiles]
cxdonwdm.sys=1,,

[DestinationDirs]
DefaultDestDir = 10,system32\drivers
cxdonwdm.Install.NT.CopyFiles=10,system32\drivers

[Manufacturer]
%Manufacturer%=HID Global

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


[ClassInstall32]
Addreg=SmartCardReaderClassReg

[SmartCardReaderClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-25
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,



; ===================== PnP IDs ===========================

[HID Global]
; DisplayName       	Section           DeviceId
; -----------       	-------           --------
%VID1PID1ReaderDescription% =  cxdonwdm.Install, root\cxdongle





; ================== NT specific =====================

[cxdonwdm.Install.NT]
AddReg    = cxdonwdm.Install.NT.AddReg
CopyFiles = cxdonwdm.Install.NT.CopyFiles

[cxdonwdm.Install.NT.HW]
AddReg    = cxdonwdm.Install.AddReg.HW

[cxdonwdm.Install.NT.Services]
AddService = cxdonwdm, 2, cxdonwdm.Service.NT,cxdonwdm.EventLog.NT









[cxdonwdm.Install.NT.AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\SCardSvr",Start,0x00010001,2
HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
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


[cxdonwdm.Install.NT.CopyFiles]
cxdonwdm.sys,,,2





[cxdonwdm.Service.NT]
DisplayName     = %VID1PID1ReaderDescription%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\cxdonwdm.sys







[cxdonwdm.EventLog.NT]
AddReg = cxdonwdm.AddEventLog.reg

[cxdonwdm.AddEventLog.reg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\drivers\cxdonwdm.sys"
HKR,, TypesSupported,   0x00010001, 7


; =====================
; === OMNIKEY 6121 Static Driver ====
; =====================
[cxdonwdm.Install.AddReg.HW]
HKR,,"VendorName",,"OMNIKEY"
HKR,,"IfdType",, "CardMan 6121"







; ================= Strings =====================

[Strings]
Provider		= "HID Global"
Manufacturer    	= "HID Global"
VID1PID1ReaderDescription     = "OMNIKEY 6121 Static Driver"
DiskDescription         = "OMNIKEY PC/SC Driver Disk"
ClassName 		= "Smart Card Readers"
