-
Notifications
You must be signed in to change notification settings - Fork 4.9k
/
cdrom.inf
156 lines (118 loc) · 8.12 KB
/
cdrom.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
[Version]
Signature = "$WINDOWS NT$"
Class = CDROM
ClassGuid = {4D36E965-E325-11CE-BFC1-08002BE10318}
Provider = %MSFT%
DriverVer = WILL_BE_FIXED_UP_BY_STAMPINF
;CatalogFile=your_cat_here.cat ; Supply your own catalog file here.
[SourceDisksNames]
3426=windows cd
[SourceDisksFiles]
cdrom.sys = 3426
[DestinationDirs]
cdrom_copyfiles = 12
[cdrom_copyfiles]
cdrom.sys,,,0x100
[ControlFlags]
BasicDriverOk=*
[Manufacturer]
%MITSUMI% = mitsumi_cdrom,NT$ARCH$
%GenManufacturer% = cdrom_device,NT$ARCH$
[mitsumi_cdrom.NT$ARCH$]
%Mitsumi_cdrom_devdesc% = mitsumi_install,IDE\CdRomMITSUMI_CD-ROM________!A________________
[cdrom_device.NT$ARCH$]
;;
;; if none of the above matched, then only cdrom.sys is required for this drive
;;
%gencdrom_devdesc% = cdrom_install,SCSI\WormPIONEER_CD-WO_DR-R504X__
%gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU920S__
%gencdrom_devdesc% = cdrom_install,SCSI\WormSONY____CD-R___CDU948S__
%gencdrom_devdesc% = cdrom_install,GenCdRom
%gencdrom_devdesc% = cdrom_install_ISO_drive,SCSI\CdRomMsft____Virtual_DVD-ROM_
;;
;; Use to add filter drivers for the device
;;
[mitsumi_addreg]
HKR,,"FriendlyName",,%Mitsumi_Generic_FriendlyName%
;;
;; Give ISO drives a more friendly name
;;
[ISO_addreg]
HKR,,"FriendlyName",,%ISO_Generic_FriendlyName%
;;
;; The AutoRunAlwaysDisable key is only for use when the hardware cannot
;; accepts TEST_UNIT_READY commands. Disabling 'AutoRun' or including
;; devices in this list will prevent removable media services from being
;; able to properly handle these devices.
;;
[autorun_addreg]
HKR,,"AutoRun",0x00010003,1
HKR,,"AutoRunAlwaysDisable", 0x00010008, "NEC MBR-7 "
HKR,,"AutoRunAlwaysDisable", 0x00010008, "NEC MBR-7.4 "
HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CHANGR DRM-1804X"
HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-6324X"
HKR,,"AutoRunAlwaysDisable", 0x00010008, "PIONEER CD-ROM DRM-624X "
HKR,,"AutoRunAlwaysDisable", 0x00010008, "TORiSAN CD-ROM CDR_C36"
;;
;; Use to disable synchronous transfers to this device. Sync transfers will
;; always be turned off by default in this INF for any cdrom-type device
;;
[nosync_addreg]
HKR,,"DefaultRequestFlags",0x00010001,8
HKR,"Storport","MinimumIdleTimeoutInMS",0x00010001,0
;;
;; Installation section for mitsumi.
;;
[mitsumi_install]
CopyFiles=cdrom_copyfiles
[mitsumi_install.HW]
AddReg=nosync_addreg,mitsumi_addreg
[mitsumi_install.Services]
Needs=cdrom_install.Services
;;
;; Installation section for generic cdrom.
;;
[cdrom_install]
CopyFiles=cdrom_copyfiles
[cdrom_install.HW]
AddReg=nosync_addreg
[cdrom_install.Services]
AddService=cdrom,0x00000002,cdrom_ServiceInstallSection,cdrom_EventLog_InstallSection
[cdrom_install_ISO_drive]
CopyFiles=cdrom_copyfiles
[cdrom_install_ISO_drive.HW]
AddReg=nosync_addreg,ISO_addreg
[cdrom_install_ISO_drive.Services]
AddService=cdrom,0x00000002,cdrom_ServiceInstallSection,cdrom_EventLog_InstallSection
;;
;; Service install sections
;;
[cdrom_ServiceInstallSection]
DisplayName = %cdrom_ServiceDesc%
ServiceType = 1
StartType = 1
ErrorControl = 1
ServiceBinary = %12%\cdrom.sys
LoadOrderGroup = "SCSI CDROM Class"
AddReg=autorun_addreg
[cdrom_EventLog_InstallSection]
AddReg=cdrom_EventLog_AddReg
[cdrom_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,0x00010001,7
[Strings]
MSFT = "Microsoft"
;; Manufacturer specific strings
MITSUMI = "Mitsumi"
GenManufacturer = "(Standard CD-ROM drives)"
;; Descriptions for enumerated brands and models
Mitsumi_cdrom_devdesc = "Mitsumi CD-ROM Drive"
gencdrom_devdesc = "CD-ROM Drive"
;; Friendly names
Mitsumi_Generic_FriendlyName = "Mitsumi CD-ROM Drive"
ISO_Generic_FriendlyName = "Microsoft Virtual DVD-ROM"
;; Service descriptions
cdrom_ServiceDesc = "CD-ROM Driver"