Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.5 KiB

  1. [Version]
  2. Signature="$Windows NT$"
  3. Class=SmartCardReader
  4. ClassGuid={50DD5230-BA8A-11D1-BF5D-0000F805F530}
  5. [ClassInstall32]
  6. Addreg=SmartCardReaderClassReg
  7. [ClassInstall]
  8. Addreg=SmartCardReaderClassReg
  9. [SmartCardReaderClassReg]
  10. HKR,,,0,%ClassName%
  11. HKR,,Icon,,-25
  12. HKR,,NoInstallClass,,1
  13. HKR,,Installer32,,"winscard.dll,ClassInstall32"
  14. [Manufacturer]
  15. %CCID%=CCID
  16. ; ============ Add reg for all readers ===============
  17. [Reader.Install.AddReg]
  18. HKLM, Software\Microsoft\Cryptography\Calais\Readers,,,
  19. HKLM, System\CurrentControlSet\Services\SCardSvr,Start,0x00010001,2
  20. ; **************************
  21. ; USB CCID Compliant Readers
  22. ; **************************
  23. [CCID]
  24. %USBSC.DeviceDesc% = USBSC.Install,,USB\Class_0B&SubClass_00,USB\Class_0B
  25. [USBSC.Install.NT]
  26. AddReg = Reader.Install.AddReg
  27. CopyFiles = USBSC.Install.CopyFiles
  28. [USBSC.Install.NT.HW]
  29. AddReg = USBSC.Install.AddReg.HW
  30. [USBSC.Install.AddReg.HW]
  31. HKR,,"VendorName",,"Generic"
  32. HKR,,"IfdType",,"USB Smartcard"
  33. [USBSC.Install.CopyFiles]
  34. usbsc.sys,,,2
  35. [USBSC.Install.NT.Services]
  36. AddService = USBSC, 2, USBSC.Service
  37. [USBSC.Service]
  38. DisplayName = %USBSC.DeviceDesc%
  39. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  40. StartType = 3 ;%SERVICE_AUTO_START%
  41. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  42. ServiceBinary = %12%\usbsc.sys
  43. [DestinationDirs]
  44. USBSC.Install.CopyFiles = 12
  45. [Strings]
  46. ClassName = "Smart card readers"
  47. CCID = "USB CCID Compliant"
  48. USBSC.DeviceDesc = "USB Smart Card reader"