[Version]
Signature="$Windows NT$"
Class=MEDIA
Provider=%ProviderName%
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
CatalogFile=driver_all.cat
PnpLockdown=1
DriverVer = 12/07/2023,1.0.0.9

[SourceDisksNames]
222="BYOMAudio Disk","",222

[SourceDisksFiles]
BYOM.sys=222

[Manufacturer]
%ManufacturerName%=WAVMAXER,NTamd64
 
[WAVMAXER.NTamd64]
%BYOMAudio.DeviceDesc%=BYOMAudio,%hwid%

;---------------------------------------------------------------
;                A R M  D D I n s t a l l
;---------------------------------------------------------------

[TranScreenCamera.NTarm]
%BYOMAudio.DeviceDesc%=BYOMAudio,%hwid%

;---------------------------------------------------------------
;                A R M 64  D D I n s t a l l
;---------------------------------------------------------------

[TranScreenCamera.NTarm64]
%BYOMAudio.DeviceDesc%=BYOMAudio,%hwid%

[DestinationDirs]
BYOMAudio.CopyList=10,system32\drivers

[BYOMAudio.CopyList]
BYOM.sys

[BYOMAudio.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,BYOM.sys
HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%BYOMAudio.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%BYOMAudio.DeviceDesc%
HKLM,%MediaCategories%\%Simple.NameGuid%,Name,,%Simple.Name%


;======================================================
; COMMON
;======================================================
[WAV.I.Wave]
AddReg=WAV.I.Wave.AddReg
[WAV.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WAV.Wave.szPname%

[WAV.I.Topo]
AddReg=WAV.I.Topo.AddReg
[WAV.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WAV.Topo.szPname%

;======================================================
; WAV
;======================================================
[BYOMAudio.NT]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=BYOMAudio.CopyList
AddReg=BYOMAudio.AddReg

[BYOMAudio.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WAV.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WAV.I.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WAV.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WAV.I.Topo

[BYOMAudio.NT.Services]
AddService=BYOMAudio,0x00000002,BYOMAudio_Service_Inst

[BYOMAudio_Service_Inst]
DisplayName=%BYOMAudio.SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\BYOM.sys


;======================================================
; COMMON
;======================================================
[Strings]

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_Topology="Topology"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
Simple.NameGuid="{C4DC8CD9-6D07-4C58-A65C-9C05FD9DE71A}"
Simple.Name="BYOM-Media"

WAV.Wave.szPname="BYOM-Media"
WAV.Topo.szPname="BYOM-Media"

ProviderName="BYOM-Audio"
ManufacturerName="Shenzhen Horion Software Co., Ltd."
BYOMAudio.DeviceDesc="BYOM-Media"
BYOMAudio.SvcDesc="BYOM-Media"
hwid=*BYOMAudio

