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.

303 lines
9.6 KiB

  1. ; Copyright (c) 1990-1999 Microsoft Corporation All rights Reserved
  2. ;
  3. ; Module Name:
  4. ; mssb16.INF
  5. ;
  6. ; Abstract:
  7. ; INF file for installing MSSB16 Sample Driver
  8. [Version]
  9. Signature="$CHICAGO$"
  10. Class=MEDIA
  11. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  12. provider=%MSFT%
  13. DriverVer = 12/1/1998, 5.0.0.0
  14. [SourceDisksNames]
  15. 222=%DiskDescription%,,,
  16. [SourceDisksFiles]
  17. mssb16.sys=222
  18. [Manufacturer]
  19. %CLMfgName%=Creative
  20. ;;
  21. ;; Mechanism for excluding drivers from the "Add New Hardware" list.
  22. ;;
  23. [ControlFlags]
  24. ;;ExcludeFromSelect = *CTL0001
  25. ;;ExcludeFromSelect = *CTL0031
  26. ;;ExcludeFromSelect = *CTL0041
  27. ;;ExcludeFromSelect = *CTL0042
  28. ;;ExcludeFromSelect = *CTL0043
  29. ;;ExcludeFromSelect = *CTL0044
  30. ;;ExcludeFromSelect = *CTL0045
  31. ;;ExcludeFromSelect = *CTL0046
  32. ;;ExcludeFromSelect = *CTL0047
  33. ExcludeFromSelect = *CTL0051
  34. ExcludeFromSelect = *CTL7FFF
  35. ;; *EXCLUDE is a made up ID to prevent rank 1 drivers from showing in list.
  36. ExcludeFromSelect = *EXCLUDE
  37. ;; MSSB16 miniport
  38. [Creative]
  39. %*WDMPNPB003.DeviceDesc%=WDMPNPB003_Device, , *PNPB003
  40. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0001
  41. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0031
  42. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0041
  43. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0042
  44. %*WDM_SB16.DeviceDesc%=WDM_SB16_FDMA, , *CTL0043
  45. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0044
  46. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0045
  47. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0046
  48. %*WDM_SB16.DeviceDesc%=WDM_SB16, , *CTL0047
  49. %*CTL0051.DeviceDesc%=STUB_DEVICE, , *CTL0051
  50. %*CTL7FFF.DeviceDesc%=STUB_DEVICE, , *CTL7FFF
  51. %SBAWE_Virtual_Mpu.DeviceDesc%=STUB_DEVICE, , VIRTUAL\SBAWE-MPUEmulation
  52. [STUB_DEVICE]
  53. ;; All the Creative PnP IDs, except CTL0043
  54. [WDM_SB16]
  55. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
  56. CopyFiles=MSSB16.CopyList
  57. AddReg=WDM_SB16.AddReg
  58. ;; CTL0043 has FDMA enabled
  59. [WDM_SB16_FDMA]
  60. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf),wdmaudio.fdma(wdmaudio.inf)
  61. CopyFiles=MSSB16.CopyList
  62. AddReg=WDM_SB16.AddReg
  63. ;; Non PnP SB16 Device!
  64. [WDMPNPB003_Device]
  65. AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
  66. LogConfig=SB16.LC1,SB16.LC2,SB16.LC3,SB16.LC4,SB16.LC5,SB16.LC6,SB16.LC7,SB16.LC8
  67. CopyFiles=MSSB16.CopyList
  68. AddReg=WDM_SB16.AddReg
  69. [WDM_SB16.Interfaces]
  70. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  71. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  72. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  73. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  74. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  75. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  76. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  77. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  78. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  79. [WDMPNPB003_Device.Interfaces]
  80. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  81. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  82. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  83. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  84. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  85. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  86. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  87. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  88. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  89. [WDM_SB16.Interface.Wave]
  90. AddReg=WDM_SB16.Interface.Wave.AddReg
  91. [WDM_SB16.Interface.Wave.AddReg]
  92. HKR,,CLSID,,%Proxy.CLSID%
  93. HKR,,FriendlyName,,%WDM_SB16.Wave.szPname%
  94. [WDM_SB16.Interface.Topology]
  95. AddReg=WDM_SB16.Interface.Topo.AddReg
  96. ;; warning!! must be "Topo" because "Topology" is too long
  97. [WDM_SB16.Interface.Topo.AddReg]
  98. HKR,,CLSID,,%Proxy.CLSID%
  99. HKR,,FriendlyName,,%WDM_SB16.Topology.szPname%
  100. [WDM.Interface.UART]
  101. AddReg=WDM.Interface.UART.AddReg
  102. [WDM.Interface.UART.AddReg]
  103. HKR,,CLSID,,%Proxy.CLSID%
  104. HKR,,FriendlyName,,%WDM.UART.szPname%
  105. [WDM.Interface.FMSynth]
  106. AddReg=WDM.Interface.FMSynth.AddReg
  107. [WDM.Interface.FMSynth.AddReg]
  108. HKR,,CLSID,,%Proxy.CLSID%
  109. HKR,,FriendlyName,,%WDM.FMSynth.szPname%
  110. [WDM_SB16.AddReg]
  111. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  112. HKR,,Driver,,msSB16.SYS
  113. HKR,,NTMPDriver,,"msSB16.sys,sbemul.sys"
  114. HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
  115. HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
  116. HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
  117. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  118. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  119. HKR,Drivers\wave\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  120. HKR,Drivers\midi\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  121. HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  122. HKR,Drivers\aux\wdmaud.drv,Description,,%*WDMPNPB003.DeviceDesc%
  123. [DestinationDirs]
  124. MSSB16.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
  125. [MSSB16.CopyList]
  126. mssb16.sys
  127. [WDMPNPB003_Device.FactDef]
  128. ConfigPriority=NORMAL
  129. IOConfig=220-22F
  130. IOConfig=330-331
  131. IOConfig=388-38B
  132. IRQConfig=5
  133. DMAConfig=1
  134. DMAConfig=5
  135. [SB16.LC1]
  136. ConfigPriority=NORMAL
  137. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  138. IRQConfig=5 , 7 , 9 , 10
  139. DMAConfig=0 , 1 , 3
  140. DMAConfig=5 , 6 , 7
  141. [SB16.LC2]
  142. ConfigPriority=NORMAL
  143. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  144. IRQConfig=5 , 7 , 9 , 10
  145. DMAConfig=0 , 1 , 3
  146. [SB16.LC3]
  147. ConfigPriority=NORMAL
  148. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  149. IOConfig=388-38B
  150. IRQConfig=5 , 7 , 9 , 10
  151. DMAConfig=0 , 1 , 3
  152. DMAConfig=5 , 6 , 7
  153. [SB16.LC4]
  154. ConfigPriority=NORMAL
  155. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  156. IOConfig=388-38B
  157. IRQConfig=5 , 7 , 9 , 10
  158. DMAConfig=0 , 1 , 3
  159. [SB16.LC5]
  160. ConfigPriority=NORMAL
  161. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  162. IOConfig=330-331, 300-301
  163. IRQConfig=5 , 7 , 9 , 10
  164. DMAConfig=0 , 1 , 3
  165. DMAConfig=5 , 6 , 7
  166. [SB16.LC6]
  167. ConfigPriority=NORMAL
  168. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  169. IOConfig=330-331, 300-301
  170. IRQConfig=5 , 7 , 9 , 10
  171. DMAConfig=0 , 1 , 3
  172. [SB16.LC7]
  173. ConfigPriority=NORMAL
  174. IOConfig=220-22F , 240-24F , 260-26F , 280-28F
  175. IOConfig=330-331, 300-301
  176. IOConfig=388-38B
  177. IRQConfig=5 , 7 , 9 , 10
  178. DMAConfig=0 , 1 , 3
  179. DMAConfig=5 , 6 , 7
  180. [SB16.LC8]
  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. ;;**************** NT Install ****************
  188. [STUB_DEVICE.NT]
  189. [STUB_DEVICE.NT.SERVICES]
  190. AddService=,0x2
  191. [WDM_SB16.NT]
  192. Include=ks.inf, wdmaudio.inf
  193. Needs=KS.Registration, WDMAUDIO.Registration
  194. CopyFiles=MSSB16.CopyList
  195. AddReg=WDM_SB16.AddReg
  196. [WDM_SB16.NT.Interfaces]
  197. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  198. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  199. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  200. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  201. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  202. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  203. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  204. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  205. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  206. [WDM_SB16.NT.Services]
  207. AddService = sb16, 0x00000002, sndblst_Service_Inst
  208. [WDM_SB16_FDMA.NT]
  209. Include=ks.inf, wdmaudio.inf
  210. Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
  211. CopyFiles=MSSB16.CopyList
  212. AddReg=WDM_SB16.AddReg
  213. [WDM_SB16_FDMA.NT.Interfaces]
  214. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  215. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  216. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  217. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  218. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  219. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  220. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  221. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  222. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  223. [WDM_SB16_FDMA.NT.Services]
  224. AddService = sb16, 0x00000002, sndblst_Service_Inst
  225. [WDMPNPB003_Device.NT]
  226. Include=ks.inf, wdmaudio.inf
  227. Needs=KS.Registration, WDMAUDIO.Registration
  228. LogConfig=SB16.LC1,SB16.LC2,SB16.LC3,SB16.LC4,SB16.LC5,SB16.LC6,SB16.LC7,SB16.LC8
  229. CopyFiles=MSSB16.CopyList
  230. AddReg=WDM_SB16.AddReg
  231. [WDMPNPB003_Device.NT.FactDef]
  232. ConfigPriority=NORMAL
  233. IOConfig=220-22F
  234. IOConfig=330-331
  235. IOConfig=388-38B
  236. IRQConfig=5
  237. DMAConfig=1
  238. DMAConfig=5
  239. [WDMPNPB003_Device.NT.Interfaces]
  240. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  241. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  242. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_SB16.Interface.Wave
  243. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_SB16.Interface.Topology
  244. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  245. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  246. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  247. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  248. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  249. [WDMPNPB003_Device.NT.Services]
  250. AddService = sb16, 0x00000002, sndblst_Service_Inst
  251. [sndblst_Service_Inst]
  252. DisplayName = %sndblst.SvcDesc%
  253. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  254. StartType = 3 ; SERVICE_DEMAND_START
  255. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  256. ServiceBinary = %10%\system32\drivers\mssb16.sys