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.

343 lines
9.8 KiB

  1. ;
  2. ; cdrom.inf -- INF file for installing CDROM drives
  3. ;
  4. ; Copyright (c) 1993-1997, Microsoft Corporation
  5. [Version]
  6. Signature="$WINDOWS NT$"
  7. Class=CDROM
  8. ClassGuid={4D36E965-E325-11CE-BFC1-08002BE10318}
  9. Provider=%DDK_SAMPLE%
  10. DriverVer=03/15/2001,5.1.2462.0
  11. CatalogFile=ddk_sample.cat
  12. [cdaudio_copyfiles]
  13. cdaudio.sys
  14. [changer_copyfiles]
  15. changer.sys
  16. [cdrom_copyfiles]
  17. cdrom.sys
  18. redbook.sys
  19. [storprop_copyfiles]
  20. storprop.dll
  21. [DestinationDirs]
  22. cdrom_copyfiles = 12
  23. cdaudio_copyfiles = 12
  24. changer_copyfiles = 12
  25. storprop_copyfiles = 11
  26. [Manufacturer]
  27. %ATAPI_CHGR% = atapi_chgr
  28. %CHINON% = chinon_cdrom
  29. %DENON% = denon_cdrom
  30. %FUJITSU% = fujitsu_cdrom
  31. %HITACHI% = hitachi_cdrom
  32. %HP% = hp_cdrom
  33. %MITSUMI% = mitsumi_cdrom
  34. %NEC% = nec_cdrom
  35. %OTI% = oti_cdrom
  36. %PIONEER% = pioneer_cdrom
  37. %WEARNES% = wearnes_cdrom
  38. %GenManufacturer% = cdrom_device
  39. [atapi_chgr]
  40. %NecChanger_devdesc% = changer_install,IDE\CdRomNEC_CD-ROM_DRIVE:251____________________
  41. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:251
  42. %NecChanger_devdesc% = changer_install,IDE\CdRomNEC_CD-ROM_DRIVE:253____________________
  43. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:253
  44. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:252
  45. %AlpsChanger_devdesc% = changer_install,IDE\CdRomALPS_DC544______________________________
  46. %TorisanChanger_devdesc% = changer_install,IDE\CdRomTORiSAN_CD-ROM_CDR-C3G__________________
  47. %TorisanChanger_devdesc% = changer_install,SCSI\CdRomTORiSAN_CD-ROM_CDR-C3G__
  48. %TorisanChanger_devdesc% = changer_install,IDE\CdRomTORiSAN_CD-ROM_CDR_C36__________________
  49. %PanasonicChanger_devdesc% = changer_install,IDE\CdRomMATSHITA_RD-DRC001-M____________________
  50. %PanasonicChanger_devdesc% = changer_install,IDE\CdRomMATSHITA_RD-DRC002-S____________________
  51. %PanasonicChanger_devdesc% = changer_install,SCSI\CdRomNAKAMICHMJ-5.16_________
  52. [fujitsu_cdrom]
  53. %fujitsu_devdesc% = cdaudio_install,SCSI\CdRomFUJITSU_
  54. [chinon_cdrom]
  55. %chinon_devdesc% = cdaudio_install,SCSI\CdRomCHINON__
  56. [denon_cdrom]
  57. %denon_devdesc% = cdaudio_install,SCSI\CdRomDENON___
  58. [hp_cdrom]
  59. %hp_devdesc% = cdaudio_install,SCSI\CdRomHP______C4324/C4325_____
  60. [hitachi_cdrom]
  61. %hitachi_devdesc% = cdaudio_install,SCSI\CdRomHITACHI_CDR-3650/1650S__
  62. %hitachi_devdesc% = cdaudio_install,SCSI\CdRomHITACHI_CDR-1750S_______
  63. [mitsumi_cdrom]
  64. %Mitsumi_cdrom_devdesc% = mitsumi_install,IDE\CdRomMITSUMI_CD-ROM________!A________________
  65. [nec_cdrom]
  66. %NecMultispin_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:38_
  67. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE_4_M
  68. %NecIntersect_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:80_
  69. %NecIntersect_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:82_
  70. %NecIntersect_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:83_
  71. %NecIntersect_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:84_
  72. %NecMultispin_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:841
  73. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:400
  74. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:401
  75. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:500
  76. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:501
  77. %NecOem_devdesc% = cdaudio_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:900
  78. [oti_cdrom]
  79. %oti_devdesc% = cdaudio_install,IDE\CdRomOTI_DOLPHIN_8001_IDE____________________
  80. [pioneer_cdrom]
  81. %pioneer_devdesc% = cdaudio_install,SCSI\CdRomPIONEER_CD-ROM_DRM-600__
  82. %pioneer_devdesc% = cdaudio_install,SCSI\CdRomPIONEER_CD-ROM_DRM-600x_
  83. [wearnes_cdrom]
  84. %wearnes_devdesc% = cdaudio_install,IDE\CdRomWEARNES_
  85. [cdrom_device]
  86. ;;
  87. ;; if none of the above matched, then only cdrom.sys is required for this drive
  88. ;;
  89. %gencdrom_devdesc% = cdrom_install,SCSI\WormPIONEER_CD-WO_DR-R504X__
  90. %gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU920S__
  91. %gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU948S__
  92. %gencdrom_devdesc% = cdrom_install,GenCdRom
  93. ;;
  94. ;; Use to add filter drivers for the device
  95. ;;
  96. [cdaudio_addreg]
  97. HKR,,"UpperFilters",0x00010008,"cdaudio"
  98. [changer_addreg]
  99. HKR,,"UpperFilters",0x00010008,"changer"
  100. [mitsumi_addreg]
  101. HKR,,"FriendlyName",,%Mitsumi_Generic_FriendlyName%
  102. ;;
  103. ;; more addreg sections
  104. ;;
  105. [dvd_property_provider_AddReg]
  106. HKR,,EnumPropPages32,,"storprop.dll,DvdPropPageProvider"
  107. [autorun_addreg]
  108. ;;
  109. ;; The AutoRunAlwaysDisable key is only for use when the hardware cannot
  110. ;; accepts TEST_UNIT_READY commands. Disabling 'AutoRun' or including
  111. ;; devices in this list will prevent removable media services from being
  112. ;; able to properly handle these devices.
  113. ;;
  114. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRun",0x00010003,1
  115. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable",\
  116. 0x00010000,\
  117. "NEC MBR-7 ", \
  118. "NEC MBR-7.4 ", \
  119. "PIONEER CHANGR DRM-1804X", \
  120. "PIONEER CD-ROM DRM-6324X", \
  121. "PIONEER CD-ROM DRM-624X ", \
  122. "TORiSAN CD-ROM CDR_C36"
  123. ;;
  124. ;; Use to disable synchronous transfers to this device. Sync transfers will
  125. ;; always be turned off by default in this INF for any cdrom-type device
  126. ;;
  127. [nosync_addreg]
  128. HKR,,"DefaultRequestFlags",0x00010001,8
  129. ;;
  130. ;; Installation section for cdaudio. Sets cdrom as the service and adds
  131. ;; cdaudio as an upper filter
  132. ;;
  133. [cdaudio_install]
  134. CopyFiles=cdaudio_copyfiles,cdrom_copyfiles,storprop_copyfiles
  135. AddReg=dvd_property_provider_AddReg
  136. [cdaudio_install.HW]
  137. AddReg=nosync_addreg,cdaudio_addreg
  138. [cdaudio_install.Services]
  139. AddService=cdrom,0x00000002,cdrom_ServiceInstallSection
  140. AddService=cdaudio,,cdaudio_ServiceInstallSection
  141. AddService=redbook,,redbook_ServiceInstallSection,redbook_InstallEventLogSection
  142. ;;
  143. ;; Installation section for changer
  144. ;;
  145. [changer_install]
  146. CopyFiles=changer_copyfiles,cdrom_copyfiles,storprop_copyfiles
  147. AddReg=dvd_property_provider_AddReg
  148. [changer_install.HW]
  149. AddReg=changer_addreg
  150. [changer_install.Services]
  151. AddService=cdrom,0x00000002,cdrom_ServiceInstallSection
  152. AddService=changer,,changer_ServiceInstallSection
  153. AddService=redbook,,redbook_ServiceInstallSection,redbook_InstallEventLogSection
  154. ;;
  155. ;; Installation section for mitsumi.
  156. ;;
  157. [mitsumi_install]
  158. CopyFiles=cdrom_copyfiles,storprop_copyfiles
  159. AddReg=dvd_property_provider_AddReg
  160. [mitsumi_install.HW]
  161. AddReg=nosync_addreg,mitsumi_addreg
  162. [mitsumi_install.Services]
  163. AddService=cdrom,0x00000002,cdrom_ServiceInstallSection
  164. AddService=redbook,,redbook_ServiceInstallSection,redbook_InstallEventLogSection
  165. ;;
  166. ;; Installation section for generic cdrom.
  167. ;;
  168. [cdrom_install]
  169. CopyFiles=cdrom_copyfiles,storprop_copyfiles
  170. AddReg=dvd_property_provider_AddReg
  171. [cdrom_install.HW]
  172. AddReg=nosync_addreg
  173. [cdrom_install.Services]
  174. AddService=cdrom,0x00000002,cdrom_ServiceInstallSection
  175. AddService=redbook,,redbook_ServiceInstallSection,redbook_InstallEventLogSection
  176. ;;
  177. ;; Service install sections for cdrom and cdaudio
  178. ;;
  179. [cdrom_ServiceInstallSection]
  180. DisplayName = %cdrom_ServiceDesc%
  181. ServiceType = 1
  182. StartType = 1
  183. ErrorControl = 1
  184. ServiceBinary = %12%\cdrom.sys
  185. LoadOrderGroup = SCSI CDROM Class
  186. AddReg=autorun_addreg
  187. [cdaudio_ServiceInstallSection]
  188. DisplayName = %cdaudio_ServiceDesc%
  189. ServiceType = 1
  190. StartType = 1
  191. ErrorControl = 1
  192. ServiceBinary = %12%\cdaudio.sys
  193. LoadOrderGroup = Pnp Filter
  194. [changer_ServiceInstallSection]
  195. DisplayName = %changer_ServiceDesc%
  196. ServiceType = 1
  197. StartType = 1
  198. ErrorControl = 1
  199. ServiceBinary = %12%\changer.sys
  200. LoadOrderGroup = Pnp Filter
  201. [redbook_ServiceInstallSection]
  202. DisplayName = %redbook_ServiceDesc%
  203. ServiceType = 1
  204. StartType = 1
  205. ErrorControl = 1
  206. ServiceBinary = %12%\redbook.sys
  207. LoadOrderGroup = Pnp Filter
  208. [redbook_InstallEventLogSection]
  209. AddReg = redbook_EventLog_addreg
  210. [redbook_EventLog_addreg]
  211. HKR,,"EventMessageFile",0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\redbook.sys"
  212. HKR,,"TypesSupported",0x00010001,7
  213. [Strings]
  214. DDK_SAMPLE="DDK Sample Provider"
  215. CDClassName = "DVD/CD-ROM drives"
  216. ;; Manufacturer specific strings
  217. ATAPI_CHGR = "Atapi 2.5 Changer Devices"
  218. CHINON = "Chinon"
  219. DENON = "Denon"
  220. FUJITSU = "Fujitsu"
  221. HITACHI = "Hitachi"
  222. HP = "Hewlett Packard"
  223. MITSUMI = "Mitsumi"
  224. NEC = "NEC"
  225. OTI = "OTI"
  226. PIONEER = "Pioneer"
  227. WEARNES = "Wearnes"
  228. GenManufacturer = "(Standard CD-ROM drives)"
  229. ;; Descriptions for enumerated brands and models
  230. AlpsChanger_devdesc = "Alps CD-ROM Changer"
  231. chinon_devdesc = "Chinon CD-ROM Drive"
  232. denon_devdesc = "Denon CD-ROM Drive"
  233. fujitsu_devdesc = "Fujitsu CD-ROM Drive"
  234. hp_devdesc = "Hewlett Packard CD-ROM Drive"
  235. hitachi_devdesc = "Hitachi CD-ROM Drive"
  236. Mitsumi_cdrom_devdesc = "Mitsumi CD-ROM Drive"
  237. NecChanger_devdesc = "NEC CD-ROM Changer"
  238. NecIntersect_devdesc = "NEC Intersect CD-ROM Drive"
  239. NecMultispin_devdesc = "NEC Multispin CD-ROM Drive"
  240. NecOem_devdesc = "NEC CD-ROM Drive"
  241. oti_devdesc = "OTI CD-ROM Drive"
  242. PanasonicChanger_devdesc = "Panasonic CD-ROM Changer"
  243. pioneer_devdesc = "Pioneer CD-ROM Drive"
  244. TorisanChanger_devdesc = "Torisan CD-ROM Changer"
  245. wearnes_devdesc = "Wearnes CD-ROM Drive"
  246. gencdrom_devdesc = "CD-ROM Drive"
  247. ;; Mitsumi Friendly name explictly listed
  248. Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM Drive"
  249. ;; Service descriptions
  250. cdrom_ServiceDesc = "CD-ROM Driver"
  251. cdaudio_ServiceDesc = "CD-Audio Filter Driver"
  252. changer_ServiceDesc = "CD-Changer Filter Driver"
  253. redbook_ServiceDesc = "Digital CD Audio Playback Filter Driver"