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.

249 lines
6.6 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. [changer_copyfiles]
  13. changer.sys
  14. [cdrom_copyfiles]
  15. cdrom.sys
  16. redbook.sys
  17. imapi.sys
  18. [storprop_copyfiles]
  19. storprop.dll
  20. [DestinationDirs]
  21. cdrom_copyfiles = 12
  22. changer_copyfiles = 12
  23. storprop_copyfiles = 11
  24. [Manufacturer]
  25. %ATAPI_CHGR% = atapi_chgr
  26. %MITSUMI% = mitsumi_cdrom
  27. %GenManufacturer% = cdrom_device
  28. [atapi_chgr]
  29. %NecChanger_devdesc% = changer_install,IDE\CdRomNEC_CD-ROM_DRIVE:251____________________
  30. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:251
  31. %NecChanger_devdesc% = changer_install,IDE\CdRomNEC_CD-ROM_DRIVE:253____________________
  32. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:253
  33. %NecChanger_devdesc% = changer_install,SCSI\CdRomNEC_____CD-ROM_DRIVE:252
  34. %AlpsChanger_devdesc% = changer_install,IDE\CdRomALPS_DC544______________________________
  35. %TorisanChanger_devdesc% = changer_install,IDE\CdRomTORiSAN_CD-ROM_CDR-C3G__________________
  36. %TorisanChanger_devdesc% = changer_install,SCSI\CdRomTORiSAN_CD-ROM_CDR-C3G__
  37. %TorisanChanger_devdesc% = changer_install,IDE\CdRomTORiSAN_CD-ROM_CDR_C36__________________
  38. %PanasonicChanger_devdesc% = changer_install,IDE\CdRomMATSHITA_RD-DRC001-M____________________
  39. %PanasonicChanger_devdesc% = changer_install,IDE\CdRomMATSHITA_RD-DRC002-S____________________
  40. %PanasonicChanger_devdesc% = changer_install,SCSI\CdRomNAKAMICHMJ-5.16_________
  41. [mitsumi_cdrom]
  42. %Mitsumi_cdrom_devdesc% = mitsumi_install,IDE\CdRomMITSUMI_CD-ROM________!A________________
  43. [cdrom_device]
  44. ;;
  45. ;; if none of the above matched, then only cdrom.sys is required for this drive
  46. ;;
  47. %gencdrom_devdesc% = cdrom_install,SCSI\WormPIONEER_CD-WO_DR-R504X__
  48. %gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU920S__
  49. %gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU948S__
  50. %gencdrom_devdesc% = cdrom_install,GenCdRom
  51. ;;
  52. ;; Use to add filter drivers for the device
  53. ;;
  54. [changer_addreg]
  55. HKR,,"UpperFilters",0x00010008,"changer"
  56. [mitsumi_addreg]
  57. HKR,,"FriendlyName",,%Mitsumi_Generic_FriendlyName%
  58. ;;
  59. ;; more addreg sections
  60. ;;
  61. [dvd_property_provider_AddReg]
  62. HKR,,EnumPropPages32,,"storprop.dll,DvdPropPageProvider"
  63. ;;
  64. ;; The AutoRunAlwaysDisable key is only for use when the hardware cannot
  65. ;; accepts TEST_UNIT_READY commands. Disabling 'AutoRun' or including
  66. ;; devices in this list will prevent removable media services from being
  67. ;; able to properly handle these devices.
  68. ;;
  69. [autorun_addreg]
  70. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRun",0x00010003,1
  71. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "NEC MBR-7 "
  72. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "NEC MBR-7.4 "
  73. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "PIONEER CHANGR DRM-1804X"
  74. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-6324X"
  75. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-624X "
  76. HKLM,"System\CurrentControlSet\Services\cdrom","AutoRunAlwaysDisable", 0x00010008, "TORiSAN CD-ROM CDR_C36"
  77. ;;
  78. ;; Use to disable synchronous transfers to this device. Sync transfers will
  79. ;; always be turned off by default in this INF for any cdrom-type device
  80. ;;
  81. [nosync_addreg]
  82. HKR,,"DefaultRequestFlags",0x00010001,8
  83. ;;
  84. ;; Installation section for changer
  85. ;;
  86. [changer_install]
  87. Needs=cdrom_install
  88. [changer_install.HW]
  89. Needs=cdrom_install.HW
  90. AddReg=changer_addreg
  91. [changer_install.Services]
  92. Needs=cdrom_install.Services
  93. AddService=changer,,changer_ServiceInstallSection
  94. ;;
  95. ;; Installation section for mitsumi.
  96. ;;
  97. [mitsumi_install]
  98. Needs=cdrom_install
  99. [mitsumi_install.HW]
  100. Needs=cdrom_install.HW
  101. AddReg=mitsumi_addreg
  102. [mitsumi_install.Services]
  103. Needs=cdrom_install.Services
  104. ;;
  105. ;; Installation section for generic cdrom.
  106. ;;
  107. [cdrom_install]
  108. CopyFiles=cdrom_copyfiles,storprop_copyfiles
  109. AddReg=dvd_property_provider_AddReg
  110. [cdrom_install.HW]
  111. AddReg=nosync_addreg
  112. [cdrom_install.Services]
  113. AddService=cdrom,0x00000002,cdrom_ServiceInstallSection
  114. AddService=redbook,,redbook_ServiceInstallSection,redbook_InstallEventLogSection
  115. AddService=imapi,,imapi_ServiceInstallSection
  116. ;;
  117. ;; Service install sections
  118. ;;
  119. [cdrom_ServiceInstallSection]
  120. DisplayName = %cdrom_ServiceDesc%
  121. ServiceType = 1
  122. StartType = 1
  123. ErrorControl = 1
  124. ServiceBinary = %12%\cdrom.sys
  125. LoadOrderGroup = "SCSI CDROM Class"
  126. AddReg=autorun_addreg
  127. [changer_ServiceInstallSection]
  128. DisplayName = %changer_ServiceDesc%
  129. ServiceType = 1
  130. StartType = 1
  131. ErrorControl = 1
  132. ServiceBinary = %12%\changer.sys
  133. LoadOrderGroup = "Pnp Filter"
  134. [redbook_ServiceInstallSection]
  135. DisplayName = %redbook_ServiceDesc%
  136. ServiceType = 1
  137. StartType = 1
  138. ErrorControl = 1
  139. ServiceBinary = %12%\redbook.sys
  140. LoadOrderGroup = "Pnp Filter"
  141. [redbook_InstallEventLogSection]
  142. AddReg = redbook_EventLog_addreg
  143. [redbook_EventLog_addreg]
  144. HKR,,"EventMessageFile",0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\redbook.sys"
  145. HKR,,"TypesSupported",0x00010001,7
  146. [imapi_ServiceInstallSection]
  147. DisplayName = %imapi_ServiceDesc%
  148. ServiceType = 1
  149. StartType = 1
  150. ErrorControl = 1
  151. ServiceBinary = %12%\imapi.sys
  152. LoadOrderGroup = "Pnp Filter"
  153. [Strings]
  154. DDK_SAMPLE = "DDK Sample Provider"
  155. CDClassName = "DVD/CD-ROM drives"
  156. ;; Manufacturer specific strings
  157. ATAPI_CHGR = "Atapi 2.5 Changer Devices"
  158. MITSUMI = "Mitsumi"
  159. GenManufacturer = "(Standard CD-ROM drives)"
  160. ;; Descriptions for enumerated brands and models
  161. AlpsChanger_devdesc = "Alps CD-ROM Changer"
  162. Mitsumi_cdrom_devdesc = "Mitsumi CD-ROM Drive"
  163. NecChanger_devdesc = "NEC CD-ROM Changer"
  164. PanasonicChanger_devdesc = "Panasonic CD-ROM Changer"
  165. TorisanChanger_devdesc = "Torisan CD-ROM Changer"
  166. gencdrom_devdesc = "CD-ROM Drive"
  167. ;; Mitsumi Friendly name explictly listed
  168. Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM Drive"
  169. ;; Service descriptions
  170. cdrom_ServiceDesc = "CD-ROM Driver"
  171. changer_ServiceDesc = "CD-Changer Filter Driver"
  172. redbook_ServiceDesc = "Digital CD Audio Playback Filter Driver"
  173. imapi_ServiceDesc = "CD-Burning Filter Driver"