
[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%MSFT%
LayoutFile=layout.inf
DriverVer =07/01/2001,5.1.2535.0

[Manufacturer]
%YamahaMfg%=Yamaha

[SourceDisksNames]
1 = %DiskID1%

[SourceDisksFiles]
opl3sax.sys = 1


[Yamaha]
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *YMH0021
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *YMH0007
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC1819
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181A
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181B
%*WDM_opl3sax.DeviceDesc% = WDM_opl3sax, *nEC181C
%Reserved.DeviceDesc%     = STUB_DEVICE, *YMH002F

[DestinationDirs]
WDM_opl3sax.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers

[YMH.KnownFiles]
opl3sax.sys = safe,backup
vopl3sa.vxd = safe,backup
msmpu401.vxd = safe,backup

[YMH.KnownRegEntries]
IsToshiba750   =safe,backup,LoseWDVM,LoseIVC

[IsToshiba750]
1=HKLM,Software\Toshiba\MachInfo,Model,0,Tecra 750

[STUB_DEVICE]

[WDM_opl3sax]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
CopyFiles=WDM_opl3sax.CopyList
AddReg=WDM_opl3sax.AddReg, OPL3SAxCus.Reg
KnownFiles      = YMH.KnownFiles
KnownRegEntries = YMH.KnownRegEntries

[WDM_opl3sax.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,YmhAud.Interface.Topology
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth

[YmhAud.Interface.Wave]
AddReg=YmhAud.Interface.Wave.AddReg

[YmhAud.Interface.Topology]
AddReg=YmhAud.Interface.Topo.AddReg

[YmhAud.Interface.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%YmhAud.Wave.szPname%

[YmhAud.Interface.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%YmhAud.Topology.szPname%

[WDM.Interface.UART]
AddReg=WDM.Interface.UART.AddReg
[WDM.Interface.UART.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.UART.szPname%

[WDM.Interface.FMSynth]
AddReg=WDM.Interface.FMSynth.AddReg
[WDM.Interface.FMSynth.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.FMSynth.szPname%

[WDM_opl3sax.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,opl3sax.sys
HKR,,NTMPDriver,,"opl3sax.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"

HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%
HKR,Drivers\aux\wdmaud.drv,Description,,%*WDM_opl3sax.DeviceDesc%

HKLM,%MediaCategories%\%SAxGUID.Ymersion%,Name,,%SAxPin.Ymersion%
HKLM,%MediaCategories%\%SAxGUID.Ymersion%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SAxGUID.YmersionType%,Name,,%SAxPin.YmersionType%
HKLM,%MediaCategories%\%SAxGUID.YmersionType%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SAxGUID.ZvPortControl%,Name,,%SAxPin.ZvPortControl%
HKLM,%MediaCategories%\%SAxGUID.ZvPortControl%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SAxGUID.Mic20dbControl%,Name,,%SAxPin.Mic20dbControl%
HKLM,%MediaCategories%\%SAxGUID.Mic20dbControl%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%SAxGUID.MonoInControl%,Name,,%SAxPin.MonoInControl%
HKLM,%MediaCategories%\%SAxGUID.MonoInControl%,Display,1,00,00,00,00

[OPL3SAxCus.Reg]
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 0",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 1",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 0",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 1",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 0",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 1",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 0",  1,00,00,09,00
HKLM,SOFTWARE\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 1",  1,00,00,09,00

[WDM_opl3sax.CopyList]
opl3sax.sys

;;**************** NT Install ****************
[STUB_DEVICE.NT]
[STUB_DEVICE.NT.SERVICES]
AddService=,0x2

[WDM_opl3sax.NT]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, WDMAUDIO.FDMA
CopyFiles=WDM_opl3sax.CopyList
AddReg=WDM_opl3sax.AddReg, OPL3SAxCus.NT.Reg

[WDM_opl3sax.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,YmhAud.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,YmhAud.Interface.Topology
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_UART%,WDM.Interface.UART
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_FMSynth%,WDM.Interface.FMSynth
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_FMSynth%,WDM.Interface.FMSynth

[WDM_opl3sax.NT.Services]
AddService = wdm_opl3sax, 0x00000002, wdm_opl3sax_Service_Inst

[wdm_opl3sax_Service_Inst]
DisplayName    = %wdm_opl3sax.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\opl3sax.sys

[OPL3SAxCus.NT.Reg]
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 0",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLine, "Initial Value 1",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 0",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInCd, "Initial Value 1",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 0",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInMic, "Initial Value 1",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 0",  1,00,00,09,00
HKLM,SYSTEM\CurrentControlSet\Services\YAMAHA\Driver\SAx-WDM\Mixer\WaveInLoopback, "Initial Value 1",  1,00,00,09,00
[Strings]
MSFT="Microsoft"
YamahaMfg="Yamaha"
*WDM_opl3sax.DeviceDesc = "WDM-драйвер YAMAHA OPL3-SAx"
Reserved.DeviceDesc     = "YAMAHA OPL3-SAx - зарезервировано"

YmhAud.Wave.szPname="Yamaha аудио"
YmhAud.Topology.szPname="Yamaha"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
WDM_MIDI="Устройство на основе WDM"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSNAME_Wave="Wave"
KSNAME_UART="UART"
KSNAME_FMSynth="FMSynth"
KSNAME_Topology="Topology"
KSNAME_Wavetable="Wavetable"

WDM.UART.szPname="Yamaha MPU-401"
WDM.FMSynth.szPname="Yamaha ЧМ-синтезатор"

wdm_opl3sax.SvcDesc = "Драйвер YAMAHA OPL3-SAx аудио (WDM)"

LoseWDVM= "Возможно, устройство звукозаписи для голосового модема прекратило работу"
LoseIVC= "Возможно, устройство видеоконференции Intel Proshare прекратило работу"

SAxGUID.Ymersion        ="{1460F9A1-C963-11d1-BE8B-00A02495FA2D}"
SAxPin.Ymersion         ="Ymersion"
SAxGUID.YmersionType    ="{1460F9A0-C963-11d1-BE8B-00A02495FA2D}"
SAxPin.YmersionType     ="Ymersion Type"
SAxGUID.ZvPortControl   ="{A2E56740-F953-11d1-9180-0060977EDEC7}"
SAxPin.ZvPortControl    ="ZV-порт"
SAxGUID.Mic20dbControl  ="{6745A220-F97D-11d1-9180-0060977EDEC7}"
SAxPin.Mic20dbControl   ="МИКР +20dB"
SAxGUID.MonoInControl   ="{B969C540-F97D-11d1-9180-0060977EDEC7}"
SAxPin.MonoInControl    ="Моно вход"

