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.

229 lines
8.5 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. Class=MEDIA
  4. ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
  5. Provider=%MSFT%
  6. LayoutFile=layout.inf
  7. DriverVer =06/02/1999,5.00.2053.1
  8. [Manufacturer]
  9. %NMGCMfgName%=NM5Audio
  10. ;; Excluding drivers from the "Add New Hardware" list.
  11. [ControlFlags]
  12. ExcludeFromSelect = *
  13. ;;---------------------------------------------------------------;
  14. ;;
  15. ;; D E V I C E C A L L O U T S E C T I O N
  16. ;;
  17. [NM5Audio]
  18. %*WDM_NM5.DeviceDesc%=WDM_NM5, PCI\VEN_10C8&DEV_8005
  19. %*WDM_NM5A2.DeviceDesc%=WDM_NM5A2, *NMX2210
  20. ;;---------------------------------------------------------------;
  21. ;;
  22. ;; D I R E C T O R Y S E C T I O N
  23. ;;
  24. [DestinationDirs]
  25. NM5Audio.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
  26. ;;---------------------------------------------------------------;
  27. ;;
  28. ;; D R I V E R C A L L O U T S E C T I O N
  29. ;;
  30. [WDM_NM5]
  31. Include=ks.inf, wdmaudio.inf
  32. Needs=KS.Registration, WDMAUDIO.Registration
  33. CopyFiles=NM5Audio.CopyList
  34. AddReg=WDM_NM5.AddReg, WDM_NM5A2_GUID.AddReg
  35. [WDM_NM5A2]
  36. Include=ks.inf, wdmaudio.inf
  37. Needs=KS.Registration, WDMAUDIO.Registration
  38. CopyFiles=NM5Audio.CopyList
  39. AddReg=WDM_NM5A2.AddReg, WDM_NM5.AddReg, WDM_NM5A2_GUID.AddReg
  40. [WDM_NM5.Interfaces]
  41. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  42. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  43. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  44. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM5.Interface.Topology
  45. [WDM_NM5A2.Interfaces]
  46. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM_NM5.Interface.FMSynth
  47. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM_NM5.Interface.FMSynth
  48. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM_NM5.Interface.UART
  49. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM_NM5.Interface.UART
  50. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM_NM5.Interface.UART
  51. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  52. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  53. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  54. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM5.Interface.Topology
  55. [WDM_NM5.Interface.Wave]
  56. AddReg=WDM_NM5.Interface.Wave.AddReg
  57. [WDM_NM5.Interface.Wave.AddReg]
  58. HKR,,CLSID,,%Proxy.CLSID%
  59. HKR,,FriendlyName,,%WDM_NM5.Wave.szPname%
  60. [WDM_NM5.Interface.Topology]
  61. AddReg=WDM_NM5.Interface.Topo.AddReg
  62. [WDM_NM5.Interface.Topo.AddReg]
  63. HKR,,CLSID,,%Proxy.CLSID%
  64. HKR,,FriendlyName,,%WDM_NM5A2.Topology.szPname%
  65. [WDM_NM5.Interface.FMSynth]
  66. AddReg=WDM_NM5.Interface.FM.AddReg
  67. [WDM_NM5.Interface.FM.AddReg]
  68. HKR,,CLSID,,%Proxy.CLSID%
  69. HKR,,FriendlyName,,%WDM_NM5A2.FMSynth.szPname%
  70. [WDM_NM5.Interface.UART]
  71. AddReg=WDM_NM5.Interface.UART.AddReg
  72. [WDM_NM5.Interface.UART.AddReg]
  73. HKR,,CLSID,,%Proxy.CLSID%
  74. HKR,,FriendlyName,,%WDM_NM5A2.UART.szPname%
  75. ;;---------------------------------------------------------------;
  76. ;;
  77. ;; U P D A T E R E G I S T R Y S E C T I O N
  78. ;;
  79. [WDM_NM5.AddReg]
  80. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  81. HKR,,Driver,,NM5A2WDM.SYS
  82. HKR,,NTMPDriver,,"NM5A2WDM.sys"
  83. HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
  84. HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
  85. HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
  86. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  87. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  88. HKR,Drivers\wave\wdmaud.drv, Description,,%*WDM_NM5.DeviceDesc%
  89. HKR,Drivers\midi\wdmaud.drv, Description,,%*WDM_NM5A2.DeviceDesc%
  90. HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDM_NM5A2.DeviceDesc%
  91. HKR,Drivers\aux\wdmaud.drv,Description,,%*WDM_NM5A2.DeviceDesc%
  92. HKLM,Software\NeoMagic\Drivers,AudioMemSize,1,00,B0,01,00
  93. HKLM,Software\NeoMagic\Drivers,AudioMCMemSize,1,00,90,00,00
  94. [WDM_NM5A2.AddReg]
  95. HKR,,AssociatedFilters,,"wdmaud"
  96. HKR,,Driver,,NM5A2WDM.SYS
  97. HKR,,NTMPDriver,,"NM5A2WDM.sys"
  98. HKR,Drivers,SubClasses,,"midi"
  99. HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
  100. HKR,Drivers\midi\wdmaud.drv, Description,,%WDM_FM%
  101. [WDM_NM5A2_GUID.AddReg]
  102. HKLM,%MediaCategories%\%NM5GUID.Pcbeep%,Name,,%NM5Pin.Pcbeep%
  103. HKLM,%MediaCategories%\%NM5GUID.Pcbeep%,Display,1,00,00,00,00
  104. HKLM,%MediaCategories%\%NM5GUID.Phone%,Name,,%NM5Pin.Phone%
  105. HKLM,%MediaCategories%\%NM5GUID.Phone%,Display,1,00,00,00,00
  106. HKLM,%MediaCategories%\%NM5GUID.Mic1%,Name,,%NM5Pin.Mic1%
  107. HKLM,%MediaCategories%\%NM5GUID.Mic1%,Display,1,00,00,00,00
  108. HKLM,%MediaCategories%\%NM5GUID.Mic2%,Name,,%NM5Pin.Mic2%
  109. HKLM,%MediaCategories%\%NM5GUID.Mic2%,Display,1,00,00,00,00
  110. HKLM,%MediaCategories%\%NM5GUID.LineIn%,Name,,%NM5Pin.LineIn%
  111. HKLM,%MediaCategories%\%NM5GUID.LineIn%,Display,1,00,00,00,00
  112. HKLM,%MediaCategories%\%NM5GUID.CdPlayer%,Name,,%NM5Pin.CdPlayer%
  113. HKLM,%MediaCategories%\%NM5GUID.CdPlayer%,Display,1,00,00,00,00
  114. HKLM,%MediaCategories%\%NM5GUID.Video%,Name,,%NM5Pin.Video%
  115. HKLM,%MediaCategories%\%NM5GUID.Video%,Display,1,00,00,00,00
  116. HKLM,%MediaCategories%\%NM5GUID.Aux%,Name,,%NM5Pin.Aux%
  117. HKLM,%MediaCategories%\%NM5GUID.Aux%,Display,1,00,00,00,00
  118. HKLM,%MediaCategories%\%NM5GUID.LineOut%,Name,,%NM5Pin.LineOut%
  119. HKLM,%MediaCategories%\%NM5GUID.LineOut%,Display,1,00,00,00,00
  120. HKLM,%MediaCategories%\%NM5GUID.ZVPort%,Name,,%NM5Pin.ZVPort%
  121. HKLM,%MediaCategories%\%NM5GUID.ZVPort%,Display,1,00,00,00,00
  122. HKLM,%MediaCategories%\%NM5GUID.3DWide%,Name,,%NM5Pin.3DWide%
  123. HKLM,%MediaCategories%\%NM5GUID.3DWide%,Display,1,00,00,00,00
  124. HKLM,%MediaCategories%\%NM5GUID.FMSynth%,Name,,%NM5Pin.FMSynth%
  125. HKLM,%MediaCategories%\%NM5GUID.FMSynth%,Display,1,00,00,00,00
  126. HKLM,%MediaCategories%\%NM5GUID.I2S%,Name,,%NM5Pin.I2S%
  127. HKLM,%MediaCategories%\%NM5GUID.I2S%,Display,1,00,00,00,00
  128. HKLM,%MediaCategories%\%NM5GUID.20dbGain%,Name,,%NM5Pin.20dbGain%
  129. HKLM,%MediaCategories%\%NM5GUID.20dbGain%,Display,1,00,00,00,00
  130. HKLM,%MediaCategories%\%NM5GUID.DockPhone%,Name,,%NM5Pin.DockPhone%
  131. HKLM,%MediaCategories%\%NM5GUID.DockPhone%,Display,1,00,00,00,00
  132. HKLM,%MediaCategories%\%NM5GUID.DockMic1%,Name,,%NM5Pin.DockMic1%
  133. HKLM,%MediaCategories%\%NM5GUID.DockMic1%,Display,1,00,00,00,00
  134. HKLM,%MediaCategories%\%NM5GUID.DockMic2%,Name,,%NM5Pin.DockMic2%
  135. HKLM,%MediaCategories%\%NM5GUID.DockMic2%,Display,1,00,00,00,00
  136. HKLM,%MediaCategories%\%NM5GUID.DockLineIn%,Name,,%NM5Pin.DockLineIn%
  137. HKLM,%MediaCategories%\%NM5GUID.DockLineIn%,Display,1,00,00,00,00
  138. HKLM,%MediaCategories%\%NM5GUID.DockCdPlayer%,Name,,%NM5Pin.DockCdPlayer%
  139. HKLM,%MediaCategories%\%NM5GUID.DockCdPlayer%,Display,1,00,00,00,00
  140. HKLM,%MediaCategories%\%NM5GUID.DockVideo%,Name,,%NM5Pin.DockVideo%
  141. HKLM,%MediaCategories%\%NM5GUID.DockVideo%,Display,1,00,00,00,00
  142. HKLM,%MediaCategories%\%NM5GUID.DockAux%,Name,,%NM5Pin.DockAux%
  143. HKLM,%MediaCategories%\%NM5GUID.DockAux%,Display,1,00,00,00,00
  144. HKLM,%MediaCategories%\%NM5GUID.DockSpeaker%,Name,,%NM5Pin.DockSpeaker%
  145. HKLM,%MediaCategories%\%NM5GUID.DockSpeaker%,Display,1,00,00,00,00
  146. ;;---------------------------------------------------------------;
  147. ;;
  148. ;; F I L E C O P Y S E C T I O N
  149. ;;
  150. [NM5Audio.CopyList]
  151. nm5a2wdm.sys
  152. ;;**************** NT Install ****************
  153. [WDM_NM5.NTX86]
  154. Include=ks.inf, wdmaudio.inf
  155. Needs=KS.Registration, WDMAUDIO.Registration
  156. CopyFiles=NM5Audio.CopyList
  157. AddReg=WDM_NM5.AddReg, WDM_NM5A2_GUID.AddReg
  158. [WDM_NM5A2.NTX86]
  159. Include=ks.inf, wdmaudio.inf
  160. Needs=KS.Registration, WDMAUDIO.Registration
  161. CopyFiles=NM5Audio.CopyList
  162. AddReg=WDM_NM5A2.AddReg, WDM_NM5.AddReg, WDM_NM5A2_GUID.AddReg
  163. [WDM_NM5.NTX86.Interfaces]
  164. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  165. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  166. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  167. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM5.Interface.Topology
  168. [WDM_NM5A2.NTX86.Interfaces]
  169. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM_NM5.Interface.FMSynth
  170. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM_NM5.Interface.FMSynth
  171. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM_NM5.Interface.UART
  172. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM_NM5.Interface.UART
  173. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM_NM5.Interface.UART
  174. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  175. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  176. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM5.Interface.Wave
  177. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM5.Interface.Topology
  178. [WDM_NM5.NTX86.Services]
  179. AddService = wdm_nm5, 0x00000002, wdm_nm5_Service_Inst
  180. [WDM_NM5A2.NTX86.Services]
  181. AddService = wdm_nm5, 0x00000002, wdm_nm5_Service_Inst
  182. [wdm_nm5_Service_Inst]
  183. DisplayName = %wdm_nm5.SvcDesc%
  184. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  185. StartType = 3 ; SERVICE_DEMAND_START
  186. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  187. ServiceBinary = %10%\system32\drivers\nm5a2wdm.sys