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.

163 lines
6.6 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 = 12/1/1998, 5.0.0.0
  8. [Manufacturer]
  9. %YamahaMfg%=Yamaha
  10. [Yamaha]
  11. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *YMH0021
  12. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *YMH0007
  13. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC1819
  14. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181A
  15. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181B
  16. %*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181C
  17. %Reserved.DeviceDesc% = STUB_DEVICE, *YMH002F
  18. [DestinationDirs]
  19. WDM_opl3sax.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers
  20. [YMH.KnownFiles]
  21. opl3sax.sys = safe,backup
  22. vopl3sa.vxd = safe,backup
  23. msmpu401.vxd = safe,backup
  24. [YMH.KnownRegEntries]
  25. IsToshiba750 =safe,backup,LoseWDVM,LoseIVC
  26. [IsToshiba750]
  27. 1=HKLM,Software\Toshiba\MachInfo,Model,0,Tecra 750
  28. [STUB_DEVICE]
  29. [WDM_opl3sax]
  30. Include=ks.inf, wdmaudio.inf
  31. Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
  32. CopyFiles=WDM_opl3sax.CopyList
  33. AddReg=WDM_opl3sax.AddReg, OPL3SAxCus.Reg
  34. KnownFiles = YMH.KnownFiles
  35. KnownRegEntries = YMH.KnownRegEntries
  36. [WDM_opl3sax.Interfaces]
  37. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,YmhAud.Interface.Wave
  38. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,YmhAud.Interface.Wave
  39. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,YmhAud.Interface.Wave
  40. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,YmhAud.Interface.Topology
  41. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  42. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  43. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  44. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  45. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  46. [YmhAud.Interface.Wave]
  47. AddReg=YmhAud.Interface.Wave.AddReg
  48. [YmhAud.Interface.Topology]
  49. AddReg=YmhAud.Interface.Topo.AddReg
  50. [YmhAud.Interface.Wave.AddReg]
  51. HKR,,CLSID,,%Proxy.CLSID%
  52. HKR,,FriendlyName,,%YmhAud.Wave.szPname%
  53. [YmhAud.Interface.Topo.AddReg]
  54. HKR,,CLSID,,%Proxy.CLSID%
  55. HKR,,FriendlyName,,%YmhAud.Topology.szPname%
  56. [WDM.Interface.UART]
  57. AddReg=WDM.Interface.UART.AddReg
  58. [WDM.Interface.UART.AddReg]
  59. HKR,,CLSID,,%Proxy.CLSID%
  60. HKR,,FriendlyName,,%WDM.UART.szPname%
  61. [WDM.Interface.FMSynth]
  62. AddReg=WDM.Interface.FMSynth.AddReg
  63. [WDM.Interface.FMSynth.AddReg]
  64. HKR,,CLSID,,%Proxy.CLSID%
  65. HKR,,FriendlyName,,%WDM.FMSynth.szPname%
  66. [WDM_opl3sax.AddReg]
  67. HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
  68. HKR,,Driver,,opl3sax.sys
  69. HKR,,NTMPDriver,,"opl3sax.sys,sbemul.sys"
  70. HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
  71. HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
  72. HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
  73. HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
  74. HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv
  75. HKR,Drivers\wave\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
  76. HKR,Drivers\midi\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
  77. HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
  78. HKR,Drivers\aux\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
  79. HKLM,%MediaCategories%\%SAxGUID.Ymersion%,Name,,%SAxPin.Ymersion%
  80. HKLM,%MediaCategories%\%SAxGUID.Ymersion%,Display,1,00,00,00,00
  81. HKLM,%MediaCategories%\%SAxGUID.YmersionType%,Name,,%SAxPin.YmersionType%
  82. HKLM,%MediaCategories%\%SAxGUID.YmersionType%,Display,1,00,00,00,00
  83. HKLM,%MediaCategories%\%SAxGUID.ZvPortControl%,Name,,%SAxPin.ZvPortControl%
  84. HKLM,%MediaCategories%\%SAxGUID.ZvPortControl%,Display,1,00,00,00,00
  85. HKLM,%MediaCategories%\%SAxGUID.Mic20dbControl%,Name,,%SAxPin.Mic20dbControl%
  86. HKLM,%MediaCategories%\%SAxGUID.Mic20dbControl%,Display,1,00,00,00,00
  87. HKLM,%MediaCategories%\%SAxGUID.MonoInControl%,Name,,%SAxPin.MonoInControl%
  88. HKLM,%MediaCategories%\%SAxGUID.MonoInControl%,Display,1,00,00,00,00
  89. [OPL3SAxCus.Reg]
  90. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 0", 1,00,00,09,00
  91. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 1", 1,00,00,09,00
  92. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 0", 1,00,00,09,00
  93. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 1", 1,00,00,09,00
  94. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 0", 1,00,00,09,00
  95. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 1", 1,00,00,09,00
  96. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 0", 1,00,00,09,00
  97. HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 1", 1,00,00,09,00
  98. [WDM_opl3sax.CopyList]
  99. opl3sax.sys
  100. ;;**************** NT Install ****************
  101. [STUB_DEVICE.NT]
  102. [STUB_DEVICE.NT.SERVICES]
  103. AddService=,0x2
  104. [WDM_opl3sax.NT]
  105. Include=ks.inf, wdmaudio.inf
  106. Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
  107. CopyFiles=WDM_opl3sax.CopyList
  108. AddReg=WDM_opl3sax.AddReg, OPL3SAxCus.NT.Reg
  109. [WDM_opl3sax.NT.Interfaces]
  110. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,YmhAud.Interface.Wave
  111. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,YmhAud.Interface.Wave
  112. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,YmhAud.Interface.Wave
  113. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,YmhAud.Interface.Topology
  114. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
  115. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
  116. AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
  117. AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  118. AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
  119. [WDM_opl3sax.NT.Services]
  120. AddService = wdm_opl3sax, 0x00000002, wdm_opl3sax_Service_Inst
  121. [wdm_opl3sax_Service_Inst]
  122. DisplayName = %wdm_opl3sax.SvcDesc%
  123. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  124. StartType = 3 ; SERVICE_DEMAND_START
  125. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  126. ServiceBinary = %10%\system32\drivers\opl3sax.sys
  127. [OPL3SAxCus.NT.Reg]
  128. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 0", 1,00,00,09,00
  129. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 1", 1,00,00,09,00
  130. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 0", 1,00,00,09,00
  131. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 1", 1,00,00,09,00
  132. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 0", 1,00,00,09,00
  133. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 1", 1,00,00,09,00
  134. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 0", 1,00,00,09,00
  135. HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 1", 1,00,00,09,00