Source code of Windows XP (NT5)
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.

122 lines
4.7 KiB

  1. [Version]
  2. Signature="$WINDOWS NT$"
  3. Class=DiskDrive
  4. ClassGuid={4D36E967-E325-11CE-BFC1-08002BE10318}
  5. Provider=%MSFT%
  6. LayoutFile=layout.inf
  7. [ClassInstall32.NT]
  8. DelReg=disk_class_delreg
  9. AddReg=disk_class_addreg
  10. Copyfiles=storprop_copyfiles
  11. [disk_class_delreg]
  12. HKR,,EnumPropPages32
  13. [disk_class_addreg]
  14. HKR,,,,%DiskClassName%
  15. HKR,,Installer32,,"StorProp.Dll,DiskClassInstaller"
  16. HKR,,SilentInstall,,1
  17. HKR,,NoInstallClass,,1
  18. HKR,,TroubleShooter-0,,"hcp://help/tshoot/tsdrive.htm"
  19. HKR,,Icon,,"-53"
  20. HKR,,DeviceType,0x10001,7 ; FILE_DEVICE_DISK
  21. HKR,,DeviceCharacteristics,0x10001,0x100 ; Use same security checks on relative opens
  22. ;;
  23. ;; The AutoRunAlwaysDisable key is only for use when the hardware cannot
  24. ;; accepts TEST_UNIT_READY commands. Disabling 'AutoRun' or including
  25. ;; devices in this list will prevent removable media services from being
  26. ;; able to properly handle these devices.
  27. ;;
  28. [autorun_addreg]
  29. HKLM,"System\CurrentControlSet\Services\disk","AutoRunAlwaysDisable", 0x00010008, "Brother RemovableDisk(U)"
  30. [disk_copyfiles]
  31. disk.sys
  32. [storprop_copyfiles]
  33. storprop.dll
  34. [DestinationDirs]
  35. disk_copyfiles=12
  36. storprop_copyfiles=11
  37. [Manufacturer]
  38. %GenManufacturer%=disk_device
  39. %Compaq%=compaq
  40. %Mylex%=mylex
  41. [disk_device]
  42. %disk_devdesc% = disk_install, GenDisk
  43. %opticaldisk_devdesc% = disk_install, GenOptical
  44. %disk_devdesc% = disk_install, USBSTOR\DiskSony____MSC-U01_________
  45. %disk_devdesc% = disk_install, USBSTOR\DiskSony____MSC-U01N________
  46. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\FUJITSU&DynaMO-FE_OPTICAL_DRIVE&CmdSetId104d8&GenDisk
  47. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\&SYM13FW500-DISK_DRIVE&CmdSetId104d8&GenDisk
  48. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\&WDxxxA001RTL-Disk_Drive&CmdSetId104d8&GenDisk
  49. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MAC_TECHNOLOGIESINC.&MAC_THIN_FIREWIRE_DRIVE&CmdSetId104d8&GenDisk
  50. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\VST_TECHNOLOGIESINC.&VST_THIN_FIREWIRE_DRIVE&CmdSetId104d8&GenDisk
  51. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\Sony&PCVA-HD04&CmdSetId104d8&GenDisk
  52. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LSI_Logic&SYM13FW500-DISK_DRIVE&CmdSetId104d8&GenDisk
  53. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-HD_DRIVE_&CmdSetId104d8&GenDisk
  54. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-HD_DRIVE&CmdSetId104d8&GenDisk
  55. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\MELCO_INC&1394MEL-MO_DRIVE_&CmdSetId104d8&GenDisk
  56. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LMO-PFU&CmdSetId104d8&GenDisk
  57. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LMO-AF&CmdSetId104d8&GenDisk
  58. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\OXFW900_&LHD-SF__&CmdSetId104d8&GenDisk
  59. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LHD-PFU&CmdSetId104d8&GenDisk
  60. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\LOGITEC&LHD_AF&CmdSetId104d8&GenDisk
  61. %disk_devdesc% = expect_orderly_removal_disk_install, SBP2\I-O_DATA_DEVICE_INC.&1394_Converter__&CmdSetId104d8&GenDisk
  62. %disk_devdesc% = expect_surprise_removal_disk_install, LEXARUSB\GenDisk
  63. %disk_devdesc% = expect_surprise_removal_disk_install, SCSI\DiskToshiba_SD_Mem_Driver___
  64. [compaq]
  65. %compaq_array.DeviceDesc% = disk_install, SCSI\DiskCompaq__Disk_Array______
  66. [mylex]
  67. %mylex_array.DeviceDesc% = disk_install, SCSI\DiskMYLEX___
  68. [expect_orderly_removal_disk_install.NT]
  69. CopyFiles=disk_copyfiles
  70. [expect_orderly_removal_disk_install.NT.Services]
  71. AddService=disk,2,disk_ServiceInstallSection
  72. [expect_orderly_removal_disk_install.NT.HW]
  73. AddReg=expect_orderly_removal_disk_install_HW.AddReg
  74. [expect_orderly_removal_disk_install_HW.AddReg]
  75. HKR,,"RemovalPolicy",0x00010001,0x2 ; ExpectOrderlyRemoval
  76. [expect_surprise_removal_disk_install.NT]
  77. CopyFiles=disk_copyfiles
  78. [expect_surprise_removal_disk_install.NT.Services]
  79. AddService=disk,2,disk_ServiceInstallSection
  80. [expect_surprise_removal_disk_install.NT.HW]
  81. AddReg=expect_surprise_removal_disk_install_HW.AddReg
  82. [expect_surprise_removal_disk_install_HW.AddReg]
  83. HKR,,"RemovalPolicy",0x00010001,0x3 ; ExpectSurpriseRemoval
  84. [disk_install.NT]
  85. CopyFiles=disk_copyfiles
  86. ExcludeId=GenSFloppy,SCSI\DiskMATSHITALS-120_COSM___04,SCSI\DiskCOMPAQ__LS-120_VER5___AB
  87. ExcludeId=SCSI\DiskCOMPAQ__LS-120_HIMA___01,SCSI\DiskMATSHITALS-120_VER5___00
  88. ExcludeId=SCSI\DiskMATSHITALS-120/240____00
  89. DiskCiPrivateData=4
  90. [disk_install.NT.Services]
  91. AddService=disk,2,disk_ServiceInstallSection
  92. [disk_ServiceInstallSection]
  93. DisplayName=%disk_ServiceDesc%
  94. ServiceType=1
  95. StartType=0
  96. ErrorControl=1
  97. ServiceBinary = %12%\disk.sys
  98. AddReg=autorun_addreg