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.

348 lines
11 KiB

  1. ;
  2. ; Copyright (c) 1990-2000 Microsoft Corporation. All rights reserved.
  3. ;
  4. ; Module Name:
  5. ; mssb16.INF
  6. ;
  7. ; Abstract:
  8. ; INF file for installing MSSB16 Sample Driver
  9. [Version]
  10. Signature="$CHICAGO$"
  11. Class=MEDIA
  12. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  13. provider=%MSFT%
  14. DriverVer=08/02/1999,5.00.2089.1
  15. ;You must specify which platform is supported by each SourceDisksNames section
  16. ;Valid platform identifiers include .x86, .ia64, .alpha, .axp64
  17. [SourceDisksNames.x86]
  18. 222=%DiskDescription%,,,
  19. ;You must also specify which platform is supported by each SourceDisksFiles section
  20. ;Valid platform identifiers include .x86, .ia64, .alpha, .axp64
  21. [SourceDisksFiles.x86]
  22. mssb16.sys=222
  23. [Manufacturer]
  24. %CLMfgName%=Creative
  25. ;;
  26. ;; Mechanism for excluding drivers from the "Add New Hardware" list.
  27. ;;
  28. [ControlFlags]
  29. ;;ExcludeFromSelect = *CTL0001
  30. ;;ExcludeFromSelect = *CTL0031
  31. ;;ExcludeFromSelect = *CTL0041
  32. ;;ExcludeFromSelect = *CTL0042
  33. ;;ExcludeFromSelect = *CTL0043
  34. ;;ExcludeFromSelect = *CTL0044
  35. ;;ExcludeFromSelect = *CTL0045
  36. ;;ExcludeFromSelect = *CTL0046
  37. ;;ExcludeFromSelect = *CTL0047
  38. ExcludeFromSelect = *CTL0051
  39. ExcludeFromSelect = *CTL7FFF
  40. ;; *EXCLUDE is a made up ID to prevent rank 1 drivers from showing in list.
  41. ExcludeFromSelect = *EXCLUDE
  42. ;; MSSB16 miniport
  43. [Creative]
  44. %*WDMPNPB003.DeviceDesc%=WDMPNPB003_Device, , *PNPB003
  45. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0001
  46. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0031
  47. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0041
  48. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0042
  49. %*WDM_SB16.DeviceDesc%=WDM_SB16_FDMA, , *CTL0043
  50. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0044
  51. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0045
  52. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0046
  53. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0047
  54. %*CTL0051.DeviceDesc%=STUB_DEVICE, , *CTL0051
  55. %*CTL7FFF.DeviceDesc%=STUB_DEVICE, , *CTL7FFF
  56. %SBAWE_Virtual_Mpu.DeviceDesc%=STUB_DEVICE, , VIRTUAL\SBAWE-MPUEmulation
  57. [*PNPB003.Det]
  58. AddReg=PreCopySection
  59. [PreCopySection]
  60. HKR,,NoSetupUI,,1
  61. [STUB_DEVICE]
  62. ;; All the Creative PnP IDs, except CTL0043
  63. [WDM_SB16]
  64. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
  65. CopyFiles=MSSB16.CopyList
  66. AddReg=WDM_SB16.AddReg
  67. ;; CTL0043 has FDMA enabled
  68. [WDM_SB16_FDMA]
  69. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf),wdmaudio.fdma(wdmaudio.inf)
  70. CopyFiles=MSSB16.CopyList
  71. AddReg=WDM_SB16.AddReg
  72. ;; Non PnP SB16 Device!
  73. [WDMPNPB003_Device]
  74. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
  75. LogConfig=SB16.LC1,SB16.LC2,SB16.LC3,SB16.LC4,SB16.LC5,SB16.LC6,SB16.LC7,SB16.LC8
  76. CopyFiles=MSSB16.CopyList
  77. AddReg=WDM_SB16.AddReg
  78. [WDM_SB16.Interfaces]
  79. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  80. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  81. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  82. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  83. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  84. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  85. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  86. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  87. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  88. [WDMPNPB003_Device.Interfaces]
  89. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  90. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  91. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  92. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  93. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  94. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  95. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  96. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  97. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  98. [WDM_SB16.Interface.Wave]
  99. AddReg=WDM_SB16.Interface.Wave.AddReg
  100. [WDM_SB16.Interface.Wave.AddReg]
  101. HKR,,CLSID,,%Proxy.CLSID%
  102. HKR,,FriendlyName,,%WDM_SB16.Wave.szPname%
  103. [WDM_SB16.Interface.Topology]
  104. AddReg=WDM_SB16.Interface.Topo.AddReg
  105. ;; warning!! must be "Topo" because "Topology" is too long
  106. [WDM_SB16.Interface.Topo.AddReg]
  107. HKR,,CLSID,,%Proxy.CLSID%
  108. HKR,,FriendlyName,,%WDM_SB16.Topology.szPname%
  109. [WDM.Interface.UART]
  110. AddReg=WDM.Interface.UART.AddReg
  111. [WDM.Interface.UART.AddReg]
  112. HKR,,CLSID,,%Proxy.CLSID%
  113. HKR,,FriendlyName,,%WDM.UART.szPname%
  114. [WDM.Interface.FMSynth]
  115. AddReg=WDM.Interface.FMSynth.AddReg
  116. [WDM.Interface.FMSynth.AddReg]
  117. HKR,,CLSID,,%Proxy.CLSID%
  118. HKR,,FriendlyName,,%WDM.FMSynth.szPname%
  119. [WDM_SB16.AddReg]
  120. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  121. HKR,,Driver,,msSB16.SYS
  122. HKR,,NTMPDriver,,"msSB16.sys,sbemul.sys"
  123. HKR,Drivers,SubClasses,,"wave,midi,mixer"
  124. HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
  125. HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
  126. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  127. HKR,Drivers\wave\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  128. HKR,Drivers\midi\wdmaud.drv,Description,,%WDM_MIDI%
  129. HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  130. HKLM,%MediaCategories%\%ComponentId.NameGuid%,Name,,%ComponentId.Name%
  131. [DestinationDirs]
  132. MSSB16.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
  133. [MSSB16.CopyList]
  134. mssb16.sys
  135. [WDMPNPB003_Device.FactDef]
  136. ConfigPriority=NORMAL
  137. IOConfig=220-22F
  138. IOConfig=330-331
  139. IOConfig=388-38B
  140. IRQConfig=5
  141. DMAConfig=1
  142. DMAConfig=5
  143. [SB16.LC1]
  144. ConfigPriority=NORMAL
  145. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  146. IRQConfig=5 , 7 , 9 , 10
  147. DMAConfig=0 , 1 , 3
  148. DMAConfig=5 , 6 , 7
  149. [SB16.LC2]
  150. ConfigPriority=NORMAL
  151. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  152. IRQConfig=5 , 7 , 9 , 10
  153. DMAConfig=0 , 1 , 3
  154. [SB16.LC3]
  155. ConfigPriority=NORMAL
  156. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  157. IOConfig=388-38B
  158. IRQConfig=5 , 7 , 9 , 10
  159. DMAConfig=0 , 1 , 3
  160. DMAConfig=5 , 6 , 7
  161. [SB16.LC4]
  162. ConfigPriority=NORMAL
  163. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  164. IOConfig=388-38B
  165. IRQConfig=5 , 7 , 9 , 10
  166. DMAConfig=0 , 1 , 3
  167. [SB16.LC5]
  168. ConfigPriority=NORMAL
  169. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  170. IOConfig=330-331, 300-301
  171. IRQConfig=5 , 7 , 9 , 10
  172. DMAConfig=0 , 1 , 3
  173. DMAConfig=5 , 6 , 7
  174. [SB16.LC6]
  175. ConfigPriority=NORMAL
  176. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  177. IOConfig=330-331, 300-301
  178. IRQConfig=5 , 7 , 9 , 10
  179. DMAConfig=0 , 1 , 3
  180. [SB16.LC7]
  181. ConfigPriority=NORMAL
  182. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  183. IOConfig=330-331, 300-301
  184. IOConfig=388-38B
  185. IRQConfig=5 , 7 , 9 , 10
  186. DMAConfig=0 , 1 , 3
  187. DMAConfig=5 , 6 , 7
  188. [SB16.LC8]
  189. ConfigPriority=NORMAL
  190. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  191. IOConfig=330-331, 300-301
  192. IOConfig=388-38B
  193. IRQConfig=5 , 7 , 9 , 10
  194. DMAConfig=0 , 1 , 3
  195. ;;**************** NT Install ****************
  196. [STUB_DEVICE.NT]
  197. [STUB_DEVICE.NT.SERVICES]
  198. AddService=,0x2
  199. [WDM_SB16.NT]
  200. Include=ks.inf, wdmaudio.inf
  201. Needs=KS.Registration, WDMAUDIO.Registration
  202. CopyFiles=MSSB16.CopyList
  203. AddReg=WDM_SB16.AddReg
  204. [WDM_SB16.NT.Interfaces]
  205. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  206. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  207. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  208. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  209. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  210. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  211. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  212. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  213. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  214. [WDM_SB16.NT.Services]
  215. AddService = sb16, 0x00000002, sndblst_Service_Inst
  216. [WDM_SB16_FDMA.NT]
  217. Include=ks.inf, wdmaudio.inf
  218. Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
  219. CopyFiles=MSSB16.CopyList
  220. AddReg=WDM_SB16.AddReg
  221. [WDM_SB16_FDMA.NT.Interfaces]
  222. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  223. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  224. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  225. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  226. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  227. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  228. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  229. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  230. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  231. [WDM_SB16_FDMA.NT.Services]
  232. AddService = sb16, 0x00000002, sndblst_Service_Inst
  233. [WDMPNPB003_Device.NT]
  234. Include=ks.inf, wdmaudio.inf
  235. Needs=KS.Registration, WDMAUDIO.Registration
  236. LogConfig=SB16.LC1,SB16.LC2,SB16.LC3,SB16.LC4,SB16.LC5,SB16.LC6,SB16.LC7,SB16.LC8
  237. CopyFiles=MSSB16.CopyList
  238. AddReg=WDM_SB16.AddReg
  239. [WDMPNPB003_Device.NT.FactDef]
  240. ConfigPriority=NORMAL
  241. IOConfig=220-22F
  242. IOConfig=330-331
  243. IOConfig=388-38B
  244. IRQConfig=5
  245. DMAConfig=1
  246. DMAConfig=5
  247. [WDMPNPB003_Device.NT.Interfaces]
  248. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  249. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  250. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  251. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  252. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  253. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  254. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  255. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  256. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  257. [WDMPNPB003_Device.NT.Services]
  258. AddService = sb16, 0x00000002, sndblst_Service_Inst
  259. [sndblst_Service_Inst]
  260. DisplayName = %sndblst.SvcDesc%
  261. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  262. StartType = 3 ; SERVICE_DEMAND_START
  263. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  264. ServiceBinary = %10%\system32\drivers\mssb16.sys
  265. [Strings]
  266. MSFT="Microsoft"
  267. CLMfgName="Creative Technology Ltd."
  268. DiskDescription="SoundBlaster WDM Sample Driver Disk"
  269. *WDMPNPB003.DeviceDesc="WDM Sample Driver for SB16, AWE32, or compatible"
  270. *WDM_SB16.DeviceDesc="WDM Sample Driver for SB16, AWE32, or AWE64 PnP"
  271. *CTL0051.DeviceDesc = "WDM Sample Driver for Creative 3D Stereo Enhancement Technology (inactive)"
  272. *CTL7FFF.DeviceDesc = "WDM Sample Driver for Creative Plug and Play Device (Reserved) (inactive)"
  273. SBAWE_Virtual_Mpu.DeviceDesc="WDM Sample Driver for Creative SBAWE MPU401 Emulation (inactive)"
  274. WDM_SB16.Wave.szPname="Sound Blaster 16"
  275. WDM_SB16.Topology.szPname="Sound Blaster 16"
  276. MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
  277. WDM_MIDI="WDM-based Device"
  278. Proxy.CLSID= "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
  279. KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
  280. KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
  281. KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
  282. KSNAME_Wave="Wave"
  283. KSNAME_UART="UART"
  284. KSNAME_FMSynth="FMSynth"
  285. KSNAME_Topology="Topology"
  286. WDM.UART.szPname="SB16 MPU-401"
  287. WDM.FMSynth.szPname="SB16 FM Synthesizer"
  288. sndblst.SvcDesc = "WDM Sample Driver for SB16"
  289. MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
  290. ComponentId.NameGuid="{9A601F1C-1B41-4981-9914-AC68A3A9B007}"
  291. ComponentId.Name="SB16 Windows DDK Driver"