xref: /reactos/drivers/storage/class/cdrom/cdrom.inf (revision 24cb57fd)
1;
2; Copyright (c) Microsoft Corporation.  All rights reserved.
3;
4
5[Version]
6Signature  = "$WINDOWS NT$"
7LayoutFile = layout.inf
8Class      = CDROM
9ClassGUID  = {4D36E965-E325-11CE-BFC1-08002BE10318}
10Provider   = %MSFT%
11; Git commit 96eb96d @ https://github.com/microsoft/Windows-driver-samples
12DriverVer  = 08/11/2016, 1.0
13
14;[SourceDisksNames]
15;3426=windows cd
16
17;[SourceDisksFiles]
18;cdrom.sys         = 3426
19
20[DestinationDirs]
21cdrom_copyfiles   = 12
22storprop_CopyFiles.NT = 11
23
24[ClassInstall32.NT]
25AddReg = CDROMClass.NT.AddReg
26Copyfiles = storprop_CopyFiles.NT
27
28[CDROMClass.NT.AddReg]
29HKR, , ,                0, %CDROMClassName%
30HKR, , Icon,            0, "-51"
31HKR, , Installer32,     0, "storprop.dll,DvdClassInstaller"
32HKR, , NoInstallClass,  0, 1
33HKR, , SilentInstall,   0, 1
34
35[cdrom_copyfiles]
36cdrom.sys,,,0x100
37
38[ControlFlags]
39BasicDriverOk=*
40
41[Manufacturer]
42%MITSUMI%         = mitsumi_cdrom,NT
43%GenManufacturer% = cdrom_device,NT
44;%MITSUMI%         = mitsumi_cdrom,NT$ARCH$
45;%GenManufacturer% = cdrom_device,NT$ARCH$
46
47;[mitsumi_cdrom.NT$ARCH$]
48[mitsumi_cdrom.NT]
49%Mitsumi_cdrom_devdesc%    = mitsumi_install,IDE\CdRomMITSUMI_CD-ROM________!A________________
50
51;[cdrom_device.NT$ARCH$]
52[cdrom_device.NT]
53;;
54;; if none of the above matched, then only cdrom.sys is required for this drive
55;;
56%gencdrom_devdesc%         = cdrom_install,SCSI\WormPIONEER_CD-WO_DR-R504X__
57%gencdrom_devdesc%         = cdrom_install,SCSI\WormSONY____CD-R___CDU920S__
58%gencdrom_devdesc%         = cdrom_install,SCSI\WormSONY____CD-R___CDU948S__
59%gencdrom_devdesc%         = cdrom_install,GenCdRom
60%gencdrom_devdesc%         = cdrom_install_ISO_drive,SCSI\CdRomMsft____Virtual_DVD-ROM_
61
62;;
63;; Use to add filter drivers for the device
64;;
65
66[mitsumi_addreg]
67HKR,,"FriendlyName",,%Mitsumi_Generic_FriendlyName%
68
69;;
70;; Give ISO drives a more friendly name
71;;
72
73[ISO_addreg]
74HKR,,"FriendlyName",,%ISO_Generic_FriendlyName%
75
76;;
77;; The AutoRunAlwaysDisable key is only for use when the hardware cannot
78;; accepts  TEST_UNIT_READY  commands.  Disabling 'AutoRun' or including
79;; devices in this list will prevent removable media services from being
80;; able to properly handle these devices.
81;;
82
83[autorun_addreg]
84HKR,,"AutoRun",0x00010003,1
85HKR,,"AutoRunAlwaysDisable", 0x00010008, "NEC     MBR-7   "
86HKR,,"AutoRunAlwaysDisable", 0x00010008, "NEC     MBR-7.4 "
87HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CHANGR DRM-1804X"
88HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-6324X"
89HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-624X "
90HKR,,"AutoRunAlwaysDisable", 0x00010008, "TORiSAN CD-ROM CDR_C36"
91
92;;
93;; Use to disable synchronous transfers to this device.  Sync transfers will
94;; always be turned off by default in this INF for any cdrom-type device
95;;
96
97[nosync_addreg]
98HKR,,"DefaultRequestFlags",0x00010001,8
99HKR,"Storport","MinimumIdleTimeoutInMS",0x00010001,0
100
101;;
102;; Installation section for mitsumi.
103;;
104
105[mitsumi_install]
106CopyFiles=cdrom_copyfiles
107
108[mitsumi_install.HW]
109AddReg=nosync_addreg,mitsumi_addreg
110
111[mitsumi_install.Services]
112Needs=cdrom_install.Services
113
114;;
115;; Installation section for generic cdrom.
116;;
117
118[cdrom_install]
119CopyFiles=cdrom_copyfiles
120
121[cdrom_install.HW]
122AddReg=nosync_addreg
123
124[cdrom_install.Services]
125AddService=cdrom,0x00000002,cdrom_ServiceInstallSection,cdrom_EventLog_InstallSection
126
127[cdrom_install_ISO_drive]
128CopyFiles=cdrom_copyfiles
129
130[cdrom_install_ISO_drive.HW]
131AddReg=nosync_addreg,ISO_addreg
132
133[cdrom_install_ISO_drive.Services]
134AddService=cdrom,0x00000002,cdrom_ServiceInstallSection,cdrom_EventLog_InstallSection
135
136;;
137;; Service install sections
138;;
139
140[cdrom_ServiceInstallSection]
141DisplayName   = %cdrom_ServiceDesc%
142ServiceType   = 1
143StartType     = 1
144ErrorControl  = 1
145ServiceBinary = %12%\cdrom.sys
146LoadOrderGroup = "SCSI CDROM Class"
147AddReg=autorun_addreg
148
149[cdrom_EventLog_InstallSection]
150;AddReg=cdrom_EventLog_AddReg
151
152[cdrom_EventLog_AddReg]
153HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
154HKR,,TypesSupported,0x00010001,7
155
156[storprop_CopyFiles.NT]
157storprop.dll
158
159
160[Strings]
161MSFT           = "Microsoft"
162CDROMClassName = "DVD/CD-ROM drives"
163
164;; Manufacturer specific strings
165MITSUMI         = "Mitsumi"
166GenManufacturer = "(Standard CD-ROM drives)"
167
168;; Descriptions for enumerated brands and models
169Mitsumi_cdrom_devdesc    = "Mitsumi CD-ROM Drive"
170gencdrom_devdesc         = "CD-ROM Drive"
171
172;; Friendly names
173Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM Drive"
174ISO_Generic_FriendlyName = "Microsoft Virtual DVD-ROM"
175
176;; Service descriptions
177cdrom_ServiceDesc   = "CD-ROM Driver"
178
179[Strings.0415]
180CDROMClassName = "Stacje dysków CD-ROM/DVD"
181
182GenManufacturer = "(Standardowe stacje dysków CD-ROM)"
183
184Mitsumi_cdrom_devdesc    = "Stacja dysków CD-ROM Mitsumi"
185gencdrom_devdesc         = "Stacja dysków CD-ROM"
186
187Mitsumi_Generic_FriendlyName = "Stacja dysków CD-ROM Mitsumi"
188ISO_Generic_FriendlyName = "Wirtualna stacja dysków DVD-ROM firmy Microsoft"
189
190cdrom_ServiceDesc   = "Sterownik stacji dysków CD-ROM"
191
192;Chinese(Taiwan)
193[Strings.0404]
194MSFT           = "Microsoft"
195CDROMClassName = "DVD/CD-ROM 光碟機"
196
197;; Manufacturer specific strings
198MITSUMI         = "Mitsumi"
199GenManufacturer = "(標準 CD-ROM 光碟機)"
200
201;; Descriptions for enumerated brands and models
202Mitsumi_cdrom_devdesc    = "Mitsumi CD-ROM 光碟機"
203gencdrom_devdesc         = "CD-ROM 光碟機"
204
205;; Friendly names
206Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM 光碟機"
207ISO_Generic_FriendlyName = "Microsoft 虛擬 DVD-ROM"
208
209;; Service descriptions
210cdrom_ServiceDesc   = "CD-ROM 驅動程式"
211
212;Chinese(PRC)
213[Strings.0804]
214MSFT           = "Microsoft"
215CDROMClassName = "DVD/CD-ROM 驱动器"
216
217;; Manufacturer specific strings
218MITSUMI         = "Mitsumi"
219GenManufacturer = "(标准 CD-ROM 驱动器)"
220
221;; Descriptions for enumerated brands and models
222Mitsumi_cdrom_devdesc    = "Mitsumi CD-ROM 驱动器"
223gencdrom_devdesc         = "CD-ROM 驱动器"
224
225;; Friendly names
226Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM 驱动器"
227ISO_Generic_FriendlyName = "Microsoft 虚拟 DVD-ROM"
228
229;; Service descriptions
230cdrom_ServiceDesc   = "CD-ROM 驱动程序"
231
232[Strings.0419]
233CDROMClassName = "DVD/CD-ROM дисководы"
234
235GenManufacturer = "(Стандартные CD-ROM устройства)"
236
237Mitsumi_cdrom_devdesc    = "Mitsumi CD-ROM дисковод"
238gencdrom_devdesc         = "CD-ROM дисковод"
239
240Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM дисковод"
241ISO_Generic_FriendlyName = "Microsoft виртуальный DVD-ROM дисковод"
242
243cdrom_ServiceDesc   = "CD-ROM дисковод"
244
245;Chinese(Hong Kong)
246[Strings.0c04]
247MSFT           = "Microsoft"
248CDROMClassName = "DVD/CD-ROM 光碟機"
249
250;; Manufacturer specific strings
251MITSUMI         = "Mitsumi"
252GenManufacturer = "(標準 CD-ROM 光碟機)"
253
254;; Descriptions for enumerated brands and models
255Mitsumi_cdrom_devdesc    = "Mitsumi CD-ROM 光碟機"
256gencdrom_devdesc         = "CD-ROM 光碟機"
257
258;; Friendly names
259Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM 光碟機"
260ISO_Generic_FriendlyName = "Microsoft 虛擬 DVD-ROM"
261
262;; Service descriptions
263cdrom_ServiceDesc   = "CD-ROM 驅動程式"
264