-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrtsdaudio.inf
139 lines (109 loc) · 4.39 KB
/
rtsdaudio.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
[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%GroupName%
DriverVer = 09/08/2005, 1.0.0.0
[SourceDisksNames]
222="RTSD-Audio Driver Disk","",222
[SourceDisksFiles]
rtsdaudio.sys=222
;;This syntax is only recognized on Windows XP and above- it is needed to install 64-bit drivers on
;;Windows Server 2003 Service Pack 1 and above.
[Manufacturer]
%RTSDMfg%=RTSDProject,NTAMD64,NTIA64
;; For Windows Server 2003 Service Pack 1 and above, a 64-bit OS will not install a driver
;; unless the Manufacturer and Models Sections explicitly show it is a driver for that platform
;; But the individual model section decorations (or lack thereof) work as they always have.
;; All of the model sections referred to are undecorated or NT-decorated, hence work on all platforms
[RTSDProject]
%RTSDAudio.DeviceDesc%=RTSDAudio,,*RTSDAudio
;; This section enables installing on x64 systems
[RTSDProject.NTAMD64]
%RTSDAudio.DeviceDesc%=RTSDAudio,,*RTSDAudio
;; This section enables installing on Itanium systems
[RTSDProject.NTIA64]
%RTSDAudio.DeviceDesc%=RTSDAudio,,*RTSDAudio
[DestinationDirs]
RTSDAudio.CopyList=12
;==================================================
; DDInstall
;==================================================
[RTSDAudio]
AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=RTSDAudio.CopyList
AddReg=RTSDAudio.AddReg
[RTSDAudio.CopyList]
rtsdaudio.sys
[RTSDAudio.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,RTSDAudio.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,RTSDAudio.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,RTSDAudio.Topo
[RTSDAudio.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,rtsdaudio.sys
HKR,,NTMPDriver,,"rtsdaudio.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"wave,midi,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%RTSDAudio.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%RTSDAudio.MIDI%
HKR,Drivers\mixer\wdmaud.drv,Description,,%RTSDAudio.DeviceDesc%
HKLM,%MediaCategories%\%RTSDAudio.NameGuid%,Name,,%RTSDAudio.Name%
;=================================================
; DDInstall.NT
;=================================================
[RTSDAudio.NT]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=RTSDAudio.CopyList
AddReg=RTSDAudio.AddReg
[RTSDAudio.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,RTSDAudio.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,RTSDAudio.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,RTSDAudio.Topo
[RTSDAudio.NT.Services]
AddService=RTSDAudio,0x00000002,RTSDAudio_Service_Inst
;======================================================
; Interface install
;======================================================
[RTSDAudio.Wave]
AddReg=RTSDAudio.Wave.AddReg
[RTSDAudio.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%RTSDAudio.Wave.szPname%
[RTSDAudio.Topo]
AddReg=MSVAD.I.Topo.AddReg
[RTSDAudio.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%RTSDAudio.Topo.szPname%
;======================================================
; Service install
;======================================================
[RTSDAudio_Service_Inst]
DisplayName=%RTSDAudio.SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\rtsdaudio.sys
;======================================================
; Strings
;======================================================
[Strings]
GroupName="RTSD Project"
RTSDMfg="RTSD Project"
RTSDAudio.Name="RTSD-Audio"
RTSDAudio.NameGuid="{946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}"
RTSDAudio.DeviceDesc="RTSD Network Audio Device (WDM)"
RTSDAudio.SvcDesc="RTSD Network Audio Device (WDM)"
RTSDAudio.Wave.szPname="RTSDAudio Wave"
RTSDAudio.Topo.szPname="RTSDAudio Topology"
RTSDAudio.MIDI="RTSDAudio -> WDM Midi Device"
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSNAME_Wave="Wave"
KSNAME_Topology="Topology"
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"