Leaked source code of windows server 2003
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.

356 lines
12 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. Class=MEDIA
  4. provider=%MSFT%
  5. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  6. LayoutFile=layout.inf
  7. DriverVer= 04/07/2000,5.12.01.5018
  8. [Manufacturer]
  9. %CSMfgName%=Crystal
  10. [ClassInstall]
  11. AddReg=Class.AddReg
  12. [Class.AddReg]
  13. HKR,,,,%MediaClassName%
  14. HKR,,Icon,,"-1"
  15. HKR,,Installer,,mmci.dll
  16. [ControlFlags]
  17. ExcludeFromSelect = *
  18. [Crystal]
  19. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005
  20. %cwrgame.DeviceDesc%= cwrgame, CS4281\*PNPB02F
  21. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_42811013
  22. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10A810CF
  23. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10A910CF
  24. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10AA10CF
  25. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10AB10CF
  26. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10AC10CF
  27. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10AD10CF
  28. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10B410CF
  29. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_00011179
  30. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_000C14C0
  31. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_56438086
  32. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10CA10CF
  33. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10CB10CF
  34. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_FF001179
  35. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_10B410CF
  36. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_000E14C0
  37. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_01A91014
  38. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_FF021179
  39. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_FF031179
  40. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_FF041179
  41. %cwrwdm.DeviceDesc%= cwrwdm, PCI\VEN_1013&DEV_6005&SUBSYS_FF051179
  42. [DestinationDirs]
  43. cwrwdm.CopyList = 10,system32\drivers
  44. DefaultDestDir = 10,system32\drivers
  45. [cwrwdm]
  46. Include=ks.inf, wdmaudio.inf
  47. Needs=KS.Registration, WDMAUDIO.Registration
  48. CopyFiles=cwrwdm.CopyList
  49. AddReg = cwrwdm.AddReg,MonoOutOFF.AddReg,guids.AddReg
  50. [cwrgame]
  51. Include=joystick.inf
  52. Needs=MSJSTICK
  53. [cwrwdm.Interfaces]
  54. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,CSCAud.Interface.Wave
  55. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,CSCAud.Interface.Wave
  56. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,CSCAud.Interface.Wave
  57. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,CSCAud.Interface.Topology
  58. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,CSCAud.Interface.UART
  59. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,CSCAud.Interface.UART
  60. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,CSCAud.Interface.UART
  61. [CSCAud.Interface.Wave]
  62. AddReg=CSCAud.Interface.Wave.AddReg
  63. [CSCAud.Interface.Wave.AddReg]
  64. HKR,,CLSID,,%Proxy.CLSID%
  65. HKR,,FriendlyName,,%CSCAud.Wave.szPname%
  66. [CSCAud.Interface.Topology]
  67. AddReg=CSCAud.Interface.Topo.AddReg
  68. [CSCAud.Interface.Topo.AddReg]
  69. HKR,,CLSID,,%Proxy.CLSID%
  70. HKR,,FriendlyName,,%CSCAud.Topology.szPname%
  71. [CSCAud.Interface.UART]
  72. AddReg=CSCAud.Interface.UART.AddReg
  73. [CSCAud.Interface.UART.AddReg]
  74. HKR,,CLSID,,%Proxy.CLSID%
  75. HKR,,FriendlyName,,%CSCAud.UART.szPname%
  76. [cwrwdm.AddReg]
  77. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  78. HKR,,Driver,,cwrwdm.sys
  79. HKR,,NTMPDriver,,"cwrwdm.sys,sbemul.sys"
  80. HKR,Drivers,SubClasses,,"wave,mixer,midi,aux"
  81. HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
  82. HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
  83. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  84. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  85. HKR,Drivers\midi\wdmaud.drv,Description,,%cwrwdm.DeviceDesc%
  86. HKR,Drivers\mixer\wdmaud.drv,Description,,%cwrwdm.DeviceDesc%
  87. HKR,Drivers\wave\wdmaud.drv,Description,,%cwrwdm.DeviceDesc%
  88. HKR,Drivers\aux\wdmaud.drv,Description,,%cwrwdm.DeviceDesc%
  89. HKLM,%KEY_BASE%\Algorithms\Basics,SaveMuteState,1,01,00,00,00
  90. ;
  91. ; Timer Values for the power.
  92. ;
  93. ; ConservationIdleTime = 30s
  94. ; PerformanceIdleTime = 300s
  95. ; IdlePowerState = D2
  96. ;
  97. ;HKR,PowerSettings,ConservationIdleTime, 1, 0000001e
  98. ;HKR,PowerSettings,PerformanceIdleTime, 1, 0000012c
  99. ;HKR,PowerSettings,IdlePowerState,1, 00000002
  100. ;
  101. ; Hardware Defaults - These are default settings to be used in the hardware.
  102. ; The register value XXYY translates to ...,1,yy,xx. These are the default
  103. ; values of the driver.
  104. ;
  105. HKR,Ac9x,MasterVolume,1,08,08
  106. HKR,Ac9x,HPhoneVolume,1,00,00
  107. HKR,Ac9x,MonoOutVolume,1,00,00
  108. HKR,Ac9x,BeepVolume,1,00,00
  109. HKR,Ac9x,PhoneVolume,1,08,80
  110. HKR,Ac9x,MicVolume,1,08,80
  111. HKR,Ac9x,LineInVolume,1,08,08
  112. HKR,Ac9x,CdVolume,1,08,08
  113. HKR,Ac9x,VideoVolume,1,08,08
  114. HKR,Ac9x,AuxVolume,1,08,08
  115. HKR,Ac9x,PcmOutVolume,1,08,08
  116. HKR,Ac9x,RecordSelect,1,00,00
  117. HKR,Ac9x,RecordGain,1,08,08
  118. HKR,Ac9x,GeneralPurpose,1,00,00
  119. HKR,Ac9x,3dControl,1,00,00
  120. ; 1 Hardware,
  121. ; 2 Software
  122. ; Other Disable
  123. HKR,Ac9x,SoftwareMasterEngine,1,02,00,00,00
  124. ; To disable SPDIF use this line
  125. ;HKR,Ac9x,SPDIFControl,1,00,00
  126. ; To enable SPDIF use this line
  127. HKR,Ac9x,SPDIFControl,1,00,80
  128. ; To use old topology where DRM passes without actually running
  129. HKR,Configuration,EnableSPDIFOutPin,1,00,00,00,00
  130. HKR,Configuration,UseSensaura,1,00
  131. @3:HKR,Configuration,DisableJoystick,1,00
  132. @m:HKR,Configuration,DisableJoystick,1,01
  133. HKR,Configuration,JoystickChargeTime,1,00
  134. ;
  135. ; Volume Ranges - These take the place of tables. Use these to adjust the dB
  136. ; range of the slider (dB*65536). By default, they are set to the hardware's
  137. ; minimum and maximum values. The formula for determining the value of the
  138. ; range is: hex(dB*65536) = 0xWWXXYYZZ.
  139. ; WWXXYYZZ translates to ...,1,ZZ,YY,XX,WW
  140. ;
  141. HKR,Mixer,MasterMin,1,00,80,a1,ff
  142. HKR,Mixer,MasterMax,1,00,00,00,00
  143. HKR,Mixer,MasterStep,1,00,80,01,00
  144. HKR,Mixer,HPhoneMin,1,00,80,a1,ff
  145. HKR,Mixer,HPhoneMax,1,00,00,00,00
  146. HKR,Mixer,HPhoneStep,1,00,80,01,00
  147. HKR,Mixer,CdMin,1,00,80,dd,ff
  148. HKR,Mixer,CdMax,1,00,00,0c,00
  149. HKR,Mixer,CdStep,1,00,80,01,00
  150. HKR,Mixer,MicMin,1,00,80,dd,ff
  151. HKR,Mixer,MicMax,1,00,00,0c,00
  152. HKR,Mixer,MicStep,1,00,80,01,00
  153. HKR,Mixer,LineMin,1,00,80,dd,ff
  154. HKR,Mixer,LineMax,1,00,00,0c,00
  155. HKR,Mixer,LineStep,1,00,80,01,00
  156. HKR,Mixer,AuxMin,1,00,80,dd,ff
  157. HKR,Mixer,AuxMax,1,00,00,0c,00
  158. HKR,Mixer,AuxStep,1,00,80,01,00
  159. HKR,Mixer,VideoMin,1,00,80,dd,ff
  160. HKR,Mixer,VideoMax,1,00,00,0c,00
  161. HKR,Mixer,VideoStep,1,00,80,01,00
  162. HKR,Mixer,PhoneMin,1,00,80,dd,ff
  163. HKR,Mixer,PhoneMax,1,00,00,0c,00
  164. HKR,Mixer,PhoneStep,1,00,80,01,00
  165. HKR,Mixer,BeepMin,1,00,80,dd,ff
  166. HKR,Mixer,BeepMax,1,00,00,00,00
  167. HKR,Mixer,BeepStep,1,00,00,03,00
  168. HKR,Mixer,3dMin,1,00,00,00,00
  169. HKR,Mixer,3dMax,1,0f,00,00,00
  170. HKR,Mixer,3dStep,1,01,00,00,00
  171. ;
  172. ; Volume controls attached to muxes all use a uniform volume setup.
  173. ;
  174. HKR,Mixer,RecordMin,1,00,00,00,00
  175. HKR,Mixer,RecordMax,1,00,80,16,00
  176. HKR,Mixer,RecordStep,1,00,80,01,00
  177. HKR,Mixer,MonoOutMin,1,00,80,a1,ff
  178. HKR,Mixer,MonoOutMax,1,00,00,00,00
  179. HKR,Mixer,MonoOutStep,1,00,80,01,00
  180. ;
  181. ; This will disable the line on the mixer. Disabling both Master
  182. ; and Headphones will invalidate the topology.
  183. ;
  184. HKR,Mixer,DisableMaster,1,00
  185. HKR,Mixer,DisableRecord,1,00
  186. HKR,Mixer,DisableHPhone,1,00
  187. HKR,Mixer,DisableStereoMix,1,00
  188. HKR,Mixer,DisableMonoMix,1,00
  189. HKR,Mixer,DisableMonoPcm,1,00
  190. HKR,Mixer,DisableCd,1,00
  191. HKR,Mixer,DisableMic,1,00
  192. HKR,Mixer,DisableLine,1,00
  193. HKR,Mixer,DisableAux,1,00
  194. HKR,Mixer,DisableVideo,1,00
  195. HKR,Mixer,DisablePhone,1,00
  196. HKR,Mixer,DisableBeep,1,00
  197. HKR,Mixer,Disable3d,1,00
  198. HKR,Mixer,MicBoostOn,1,00
  199. ; This should not be in Win2K. Win98SE does not care
  200. HKR,Mixer,KMixerSequence,1,17,19,14,14
  201. [MonoOutOFF.AddReg]
  202. HKR,Mixer,DisableMonoOut,1,01
  203. [MonoOutON.AddReg]
  204. HKR,Mixer,DisableMonoOut,1,00
  205. [cwrwdm.CopyList]
  206. cwrwdm.sys
  207. [guids.AddReg]
  208. ;
  209. ; MS Pins
  210. ;
  211. HKLM,%MediaCategories%\%MSGuid.MonoOut%,Name,2,%MSPin.MonoOut%
  212. HKLM,%MediaCategories%\%MSGuid.MonoOut%,Display,3,00,00,00,00
  213. HKLM,%MediaCategories%\%MSGuid.StereoMix%,Name,2,%MSPin.StereoMix%
  214. HKLM,%MediaCategories%\%MSGuid.StereoMix%,Display,3,00,00,00,00
  215. HKLM,%MediaCategories%\%MSGuid.MonoMix%,Name,2,%MSPin.MonoMix%
  216. HKLM,%MediaCategories%\%MSGuid.MonoMix%,Display,3,00,00,00,00
  217. HKLM,%MediaCategories%\%MSGuid.Video%,Name,2,%MSPin.Video%
  218. HKLM,%MediaCategories%\%MSGuid.Video%,Display,3,00,00,00,00
  219. ;
  220. ; MS Nodes
  221. ;
  222. HKLM,%MediaCategories%\%MSGuid.MonoOutVolume%,Name,2,%MSNode.MonoOutVolume%
  223. HKLM,%MediaCategories%\%MSGuid.MonoOutVolume%,Display,3,00,00,00,00
  224. HKLM,%MediaCategories%\%MSGuid.MonoOutMute%,Name,2,%MSNode.MonoOutMute%
  225. HKLM,%MediaCategories%\%MSGuid.MonoOutMute%,Display,3,00,00,00,00
  226. HKLM,%MediaCategories%\%MSGuid.StereoMixVolume%,Name,2,%MSNode.StereoMixVolume%
  227. HKLM,%MediaCategories%\%MSGuid.StereoMixVolume%,Display,3,00,00,00,00
  228. HKLM,%MediaCategories%\%MSGuid.MonoMixVolume%,Name,2,%MSNode.MonoMixVolume%
  229. HKLM,%MediaCategories%\%MSGuid.MonoMixVolume%,Display,3,00,00,00,00
  230. HKLM,%MediaCategories%\%MSGuid.MicBoost%,Name,2,%MSNode.MicBoost%
  231. HKLM,%MediaCategories%\%MSGuid.MicBoost%,Display,3,00,00,00,00
  232. HKLM,%MediaCategories%\%MSGuid.AltMic%,Name,2,%MSNode.AltMic%
  233. HKLM,%MediaCategories%\%MSGuid.AltMic%,Display,3,00,00,00,00
  234. HKLM,%MediaCategories%\%MSGuid.VideoVolume%,Name,2,%MSNode.VideoVolume%
  235. HKLM,%MediaCategories%\%MSGuid.VideoVolume%,Display,3,00,00,00,00
  236. HKLM,%MediaCategories%\%MSGuid.VideoMute%,Name,2,%MSNode.VideoMute%
  237. HKLM,%MediaCategories%\%MSGuid.VideoMute%,Display,3,00,00,00,00
  238. ;
  239. ; Crystal Pins
  240. ;
  241. HKLM,%MediaCategories%\%CSCGuid.3dPin%,Name,,%CSCPin.3DPin%
  242. HKLM,%MediaCategories%\%CSCGuid.3dPin%,Display,1,00,00,00,00
  243. ;
  244. ; Crystal Nodes
  245. ;
  246. HKLM,%MediaCategories%\%CSCGuid.PhoneVolume%,Name,,%CSCNode.PhoneVolume%
  247. HKLM,%MediaCategories%\%CSCGuid.PhoneVolume%,Display,1,00,00,00,00
  248. HKLM,%MediaCategories%\%CSCGuid.PhoneMute%,Name,,%CSCNode.PhoneMute%
  249. HKLM,%MediaCategories%\%CSCGuid.PhoneMute%,Display,1,00,00,00,00
  250. HKLM,%MediaCategories%\%CSCGuid.BeepVolume%,Name,,%CSCNode.BeepVolume%
  251. HKLM,%MediaCategories%\%CSCGuid.BeepVolume%,Display,1,00,00,00,00
  252. HKLM,%MediaCategories%\%CSCGuid.BeepMute%,Name,,%CSCNode.BeepMute%
  253. HKLM,%MediaCategories%\%CSCGuid.BeepMute%,Display,1,00,00,00,00
  254. HKLM,%MediaCategories%\%CSCGuid.HPhoneVolume%,Name,,%CSCNode.HPhoneVolume%
  255. HKLM,%MediaCategories%\%CSCGuid.HPhoneVolume%,Display,1,00,00,00,00
  256. HKLM,%MediaCategories%\%CSCGuid.HPhoneMute%,Name,,%CSCNode.HPhoneMute%
  257. HKLM,%MediaCategories%\%CSCGuid.HPhoneMute%,Display,1,00,00,00,00
  258. HKLM,%MediaCategories%\%CSCGuid.3DVolume%,Name,,%CSCNode.3DVolume%
  259. HKLM,%MediaCategories%\%CSCGuid.3DVolume%,Display,1,00,00,00,00
  260. HKLM,%MediaCategories%\%CSCGuid.3DMute%,Name,,%CSCNode.3DMute%
  261. HKLM,%MediaCategories%\%CSCGuid.3DMute%,Display,1,00,00,00,00
  262. HKLM,%MediaCategories%\%CSCGuid.SPDIF%,Name,,%CSCNode.SPDIF%
  263. HKLM,%MediaCategories%\%CSCGuid.SPDIF%,Display,1,00,00,00,00
  264. ;;
  265. ;;**************** NT Install ****************
  266. ;;
  267. [cwrwdm.NT]
  268. Include=ks.inf, wdmaudio.inf
  269. Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
  270. CopyFiles=cwrwdm.CopyList
  271. AddReg = cwrwdm.AddReg,MonoOutOFF.AddReg,guids.AddReg
  272. [cwrwdm.NT.Interfaces]
  273. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,CSCAud.Interface.Wave
  274. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,CSCAud.Interface.Wave
  275. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,CSCAud.Interface.Wave
  276. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,CSCAud.Interface.Topology
  277. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,CSCAud.Interface.UART
  278. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,CSCAud.Interface.UART
  279. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,CSCAud.Interface.UART
  280. [cwrwdm.NT.Services]
  281. AddService = cwrwdm, 0x00000002, cwrwdm_Service_Inst
  282. [cwrwdm_Service_Inst]
  283. DisplayName = %cwrwdm.SvcDesc%
  284. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  285. StartType = 3 ; SERVICE_DEMAND_START
  286. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  287. ServiceBinary = %12%\cwrwdm.sys
  288. [cwrgame.NTX86]
  289. Include=gameport.inf
  290. Needs=Standard_Port.NT
  291. [cwrgame.NTX86.Services]
  292. AddService = gameenum, 0x00000002, cwrgame_Service_Inst
  293. [cwrgame_Service_Inst]
  294. DisplayName = %cwrgame.SvcDesc%
  295. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  296. StartType = 3 ; SERVICE_DEMAND_START
  297. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  298. ServiceBinary = %12%\gameenum.sys
  299. LoadOrderGroup = Extended Base