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.

234 lines
9.5 KiB

  1. ;Copyright (c) 1990-2001 Microsoft Corporation All rights Reserved
  2. ;
  3. ;Module Name:
  4. ; wdma_ms.inf
  5. ;
  6. ;Abstract:
  7. ; INF file for installing AC97 WDM Sample Driver
  8. [Version]
  9. Signature="$CHICAGO$"
  10. Class=MEDIA
  11. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  12. provider=%MSFT%
  13. LayoutFile=layout.inf
  14. DriverVer=05/15/2002,5.00.0.0
  15. [Manufacturer]
  16. %INTC%=Intel
  17. %AMD%=AMD
  18. ;; Excluding drivers from the "Add New Hardware" list.
  19. [ControlFlags]
  20. ExcludeFromSelect = *
  21. [Intel]
  22. %ICHAUD_AA.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2415
  23. %ICHAUD_AB.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2425
  24. %ICHAUD_BA.DeviceDesc%=ICHAUD,, PCI\VEN_8086&DEV_2445
  25. [AMD]
  26. %ICHAUD_AMD.DeviceDesc%=ICHAUD,, PCI\VEN_1022&DEV_746D
  27. [DestinationDirs]
  28. ICHAUD.CopyList=10,system32\drivers
  29. [ICHAUD]
  30. Include=ks.inf,wdmaudio.inf
  31. Needs=KS.Registration,WDMAUDIO.Registration
  32. CopyFiles=ICHAUD.CopyList
  33. AddReg=ICHAUD.AddReg,ICHAUD_NAMES.AddReg, ICHAUD_OEM.AddReg
  34. KnownRegEntries=ICHAUD.KnownRegEntries
  35. KnownFiles = INT.KnownFiles
  36. [ICHAUD.CopyList]
  37. ichaud.sys
  38. [ICHAUD.Interfaces]
  39. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  40. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  41. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  42. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,ICHAUD.Interface.Topology
  43. [ICHAUD.Interface.Wave]
  44. AddReg=ICHAUD.I.Wave.AddReg
  45. [ICHAUD.I.Wave.AddReg]
  46. HKR,,CLSID,,%Proxy.CLSID%
  47. HKR,,FriendlyName,,%ICHAUD.Wave.szPname%
  48. [ICHAUD.Interface.Topology]
  49. AddReg=ICHAUD.I.Topo.AddReg
  50. [ICHAUD.I.Topo.AddReg]
  51. HKR,,CLSID,,%Proxy.CLSID%
  52. HKR,,FriendlyName,,%ICHAUD.Topology.szPname%
  53. [ICHAUD.AddReg]
  54. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  55. HKR,,Driver,,ichaud.sys
  56. HKR,,NTMPDriver,,"ichaud.sys,sbemul.sys"
  57. HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
  58. HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
  59. HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
  60. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  61. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  62. HKR,Drivers\wave\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  63. HKR,Drivers\midi\wdmaud.drv, Description,,%ICHAUD.DeviceDesc%
  64. HKR,Drivers\mixer\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  65. HKR,Drivers\aux\wdmaud.drv,Description,,%ICHAUD.DeviceDesc%
  66. [ICHAUD.Services]
  67. AddService = ICHAUD, 0x00000002, ICHAUD_Service_Inst
  68. [ICHAUD_Service_Inst]
  69. DisplayName = %ICHAUD.SvcDesc%
  70. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  71. StartType = 3 ; SERVICE_DEMAND_START
  72. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  73. ServiceBinary = %10%\system32\drivers\ichaud.sys
  74. [ICHAUD_NAMES.AddReg]
  75. ;; Nodes
  76. HKLM,%MediaCategories%\%ICHGUID.PhoneVolume%,Name,,%ICHNode.PhoneVolume%
  77. HKLM,%MediaCategories%\%ICHGUID.PhoneVolume%,Display,1,00,00,00,00
  78. HKLM,%MediaCategories%\%ICHGUID.PhoneMute%,Name,,%ICHNode.PhoneMute%
  79. HKLM,%MediaCategories%\%ICHGUID.PhoneMute%,Display,1,00,00,00,00
  80. HKLM,%MediaCategories%\%ICHGUID.LineInMute%,Name,,%ICHNode.LineInMute%
  81. HKLM,%MediaCategories%\%ICHGUID.LineInMute%,Display,1,00,00,00,00
  82. HKLM,%MediaCategories%\%ICHGUID.MainMix%,Name,,%ICHNode.MainMix%
  83. HKLM,%MediaCategories%\%ICHGUID.MainMix%,Display,1,00,00,00,00
  84. HKLM,%MediaCategories%\%ICHGUID.3DBypass%,Name,,%ICHNode.3DBypass%
  85. HKLM,%MediaCategories%\%ICHGUID.3DBypass%,Display,1,00,00,00,00
  86. HKLM,%MediaCategories%\%ICHGUID.3DEnable%,Name,,%ICHNode.3DEnable%
  87. HKLM,%MediaCategories%\%ICHGUID.3DEnable%,Display,1,00,00,00,00
  88. HKLM,%MediaCategories%\%ICHGUID.BeepMix%,Name,,%ICHNode.BeepMix%
  89. HKLM,%MediaCategories%\%ICHGUID.BeepMix%,Display,1,00,00,00,00
  90. HKLM,%MediaCategories%\%ICHGUID.HPVolume%,Name,,%ICHNode.HPVolume%
  91. HKLM,%MediaCategories%\%ICHGUID.HPVolume%,Display,1,00,00,00,00
  92. HKLM,%MediaCategories%\%ICHGUID.HPMute%,Name,,%ICHNode.HPMute%
  93. HKLM,%MediaCategories%\%ICHGUID.HPMute%,Display,1,00,00,00,00
  94. HKLM,%MediaCategories%\%ICHGUID.MonoOutSelect%,Name,,%ICHNode.MonoOutSelect%
  95. HKLM,%MediaCategories%\%ICHGUID.MonoOutSelect%,Display,1,00,00,00,00
  96. HKLM,%MediaCategories%\%ICHGUID.WaveInSelect%,Name,,%ICHNode.WaveInSelect%
  97. HKLM,%MediaCategories%\%ICHGUID.WaveInSelect%,Display,1,00,00,00,00
  98. HKLM,%MediaCategories%\%ICHGUID.MasterInVolume%,Name,,%ICHNode.MasterInVolume%
  99. HKLM,%MediaCategories%\%ICHGUID.MasterInVolume%,Display,1,00,00,00,00
  100. HKLM,%MediaCategories%\%ICHGUID.MasterInMute%,Name,,%ICHNode.MasterInMute%
  101. HKLM,%MediaCategories%\%ICHGUID.MasterInMute%,Display,1,00,00,00,00
  102. HKLM,%MediaCategories%\%ICHGUID.MicInVolume%,Name,,%ICHNode.MicInVolume%
  103. HKLM,%MediaCategories%\%ICHGUID.MicInVolume%,Display,1,00,00,00,00
  104. HKLM,%MediaCategories%\%ICHGUID.MicInMute%,Name,,%ICHNode.MicInMute%
  105. HKLM,%MediaCategories%\%ICHGUID.MicInMute%,Display,1,00,00,00,00
  106. HKLM,%MediaCategories%\%ICHGUID.SimulStereo%,Name,,%ICHNode.SimulStereo%
  107. HKLM,%MediaCategories%\%ICHGUID.SimulStereo%,Display,1,00,00,00,00
  108. HKLM,%MediaCategories%\%ICHGUID.SurroundVolume%,Name,,%ICHNode.SurroundVolume%
  109. HKLM,%MediaCategories%\%ICHGUID.SurroundVolume%,Display,1,00,00,00,00
  110. HKLM,%MediaCategories%\%ICHGUID.SurroundMute%,Name,,%ICHNode.SurroundMute%
  111. HKLM,%MediaCategories%\%ICHGUID.SurroundMute%,Display,1,00,00,00,00
  112. HKLM,%MediaCategories%\%ICHGUID.CenterVolume%,Name,,%ICHNode.CenterVolume%
  113. HKLM,%MediaCategories%\%ICHGUID.CenterVolume%,Display,1,00,00,00,00
  114. HKLM,%MediaCategories%\%ICHGUID.CenterMute%,Name,,%ICHNode.CenterMute%
  115. HKLM,%MediaCategories%\%ICHGUID.CenterMute%,Display,1,00,00,00,00
  116. HKLM,%MediaCategories%\%ICHGUID.LFEVolume%,Name,,%ICHNode.LFEVolume%
  117. HKLM,%MediaCategories%\%ICHGUID.LFEVolume%,Display,1,00,00,00,00
  118. HKLM,%MediaCategories%\%ICHGUID.LFEMute%,Name,,%ICHNode.LFEMute%
  119. HKLM,%MediaCategories%\%ICHGUID.LFEMute%,Display,1,00,00,00,00
  120. HKLM,%MediaCategories%\%ICHGUID.FrontVolume%,Name,,%ICHNode.FrontVolume%
  121. HKLM,%MediaCategories%\%ICHGUID.FrontVolume%,Display,1,00,00,00,00
  122. HKLM,%MediaCategories%\%ICHGUID.FrontMute%,Name,,%ICHNode.FrontMute%
  123. HKLM,%MediaCategories%\%ICHGUID.FrontMute%,Display,1,00,00,00,00
  124. ;; Pins
  125. HKLM,%MediaCategories%\%ICHGUID.Surround%,Name,,%ICHPin.Surround%
  126. HKLM,%MediaCategories%\%ICHGUID.Surround%,Display,1,00,00,00,00
  127. HKLM,%MediaCategories%\%ICHGUID.Center%,Name,,%ICHPin.Center%
  128. HKLM,%MediaCategories%\%ICHGUID.Center%,Display,1,00,00,00,00
  129. HKLM,%MediaCategories%\%ICHGUID.LFE%,Name,,%ICHPin.LFE%
  130. HKLM,%MediaCategories%\%ICHGUID.LFE%,Display,1,00,00,00,00
  131. HKLM,%MediaCategories%\%ICHGUID.Front%,Name,,%ICHPin.Front%
  132. HKLM,%MediaCategories%\%ICHGUID.Front%,Display,1,00,00,00,00
  133. [ICHAUD_OEM.AddReg]
  134. ;;Default register value at driver startup
  135. ;;Uncomment some one of the lines if you want to overwrite the default setting
  136. ;;The value in these outcommented lines is the driver default. You can change
  137. ;;the register values (and uncomment the line) to overwrite the driver default.
  138. ;;low byte comes first, values are hexadezimal.
  139. ;HKR,Settings,MasterVolume,1,0,0 ;0dB
  140. ;HKR,Settings,HeadphoneVolume,1,0,0 ;0dB
  141. ;HKR,Settings,MonooutVolume,1,0,0 ;0dB
  142. ;HKR,Settings,ToneControls,1,F,F ;bypass
  143. ;HKR,Settings,BeepVolume,1,0,0 ;0dB
  144. ;HKR,Settings,PhoneVolume,1,8,80 ;muted
  145. ;HKR,Settings,MicVolume,1,8,80 ;muted
  146. ;HKR,Settings,LineInVolume,1,8,8 ;0dB
  147. ;HKR,Settings,CDVolume,1,8,8 ;0dB
  148. ;HKR,Settings,VideoVolume,1,8,8 ;0dB
  149. ;HKR,Settings,AUXVolume,1,8,8 ;0dB
  150. ;HKR,Settings,WaveOutVolume,1,8,8 ;0dB. This register is never touched by the system.
  151. ;HKR,Settings,RecordSelect,1,4,4 ;select LiniIn
  152. ;HKR,Settings,RecordGain,1,0,0 ;0dB
  153. ;HKR,Settings,RecordGainMic,1,0,0 ;0dB
  154. ;HKR,Settings,GeneralPurpose,1,0,0 ;pre 3D, 3D off, loudness off, mono=mix, mic1
  155. ;HKR,Settings,3DControl,1,0,0 ;0%
  156. ;HKR,Settings,PowerDown,1,0,0 ;no power down
  157. ;HKR,Settings,ExtAudioCtrl,1,01,40 ;VRA, DACs on, MicIn off
  158. ;HKR,Settings,CenterLFEVolume,1,0,0 ;0dB
  159. ;HKR,Settings,SurroundVolume,1,0,0 ;0dB
  160. ;;Configuration
  161. ;;You can disable some of the input lines by outcommenting some of the lines
  162. ;;below. This could be necessary if you have a AC97 codec on board that for
  163. ;;example supports Video input, but you don't have the Video input accessable
  164. ;;for the user (no plug in).
  165. ;HKR,Settings,DisablePCBeep,1,1
  166. ;HKR,Settings,DisablePhone,1,1
  167. ;HKR,Settings,DisableMic2,1,1
  168. ;HKR,Settings,DisableVideo,1,1
  169. ;HKR,Settings,DisableAUX,1,1
  170. ;HKR,Settings,DisableHeadphone,1,1
  171. ;HKR,Settings,DisableMonoOut,1,1
  172. HKR,Settings,DisableMicIn,1,1
  173. ;HKR,Settings,DisableMic,1,1 ;disables all MIC lines, including MIC record.
  174. ;HKR,Settings,DisableLineIn,1,1
  175. ;HKR,Settings,DisableCD,1,1
  176. ;HKR,Settings,DisableSurround,1,1
  177. HKR,Settings,DisableCenterLFE,1,1 ;This is not supported in Win98SE, Win2k, Millennium
  178. ;HKR,Settings,ChannelConfig,1,3,0,0,0 ;ChannelConfig set to stereo speakers.
  179. ;--------------------------------------------------------------------------;
  180. ; Driver Database Logic
  181. ;
  182. [ICHAUD.KnownRegEntries]
  183. IsWin98Gold=keep
  184. [IsWin98Gold]
  185. 1=HKLM,Software\Microsoft\Windows\CurrentVersion,VersionNumber,0,4.10.1998
  186. [INT.KnownFiles]
  187. YACXG.SYS = force
  188. ;;======================== Win2k section ========================
  189. [ICHAUD.NTAMD64]
  190. Include=ks.inf,wdmaudio.inf
  191. Needs=KS.Registration,WDMAUDIO.Registration
  192. CopyFiles=ICHAUD.CopyList
  193. AddReg=ICHAUD.AddReg,ICHAUD_NAMES.AddReg, ICHAUD_OEM.AddReg
  194. [ICHAUD.NTAMD64.Interfaces]
  195. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  196. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  197. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,ICHAUD.Interface.Wave
  198. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,ICHAUD.Interface.Topology
  199. [ICHAUD.NTAMD64.Services]
  200. AddService = ICHAUD, 0x00000002, ICHAUD_Service_Inst