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.

151 lines
5.8 KiB

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