[Version]
Signature="$CHICAGO$"
Class=MEDIA
Provider=%Provider%
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
DriverVer=03/20/2020,1.0.0.0
CatalogFile=safevirtualsound64.cat


[Manufacturer]
%Provider%=DevSection,NTamd64,NTia64

[DevSection]
%DeviceName%=DevInst,{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E},{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E}

[DevSection.NTx86]
%DeviceName%=DevInst,{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E},{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E}

[DevSection.NTamd64]
%DeviceName%=DevInst,{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E},{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E}

[DevSection.NTia64]
%DeviceName%=DevInst,{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E},{99CF8A51-5D41-4be9-8AAC-1EB2F2161C9E}


;#####################################################################
;
; 2k+ Installation
; ================
;
;#####################################################################

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

[DevInst.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,"Topology",DevInst.I.Topo
AddInterface=%KSCATEGORY_AUDIO%,"Wave",DevInst.I.Wave
AddInterface=%KSCATEGORY_CAPTURE%,"Wave",DevInst.I.Wave
AddInterface=%KSCATEGORY_RENDER%,"Wave",DevInst.I.Wave

[DevInst.NT.Services]
AddService=%ServiceName%,0x2,SrvInstSection

[SrvInstSection]
DisplayName=%DeviceName% (WDM)
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\%DriverFile%


;#####################################################################
;
; 98SE+ Installation
; ==================
;
;#####################################################################

[DevInst]
AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=DevInst.CopyList
AddReg=DevInst.AddReg

[DevInst.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,"Topology",DevInst.I.Topo
AddInterface=%KSCATEGORY_AUDIO%,"Wave",DevInst.I.Wave
AddInterface=%KSCATEGORY_CAPTURE%,"Wave",DevInst.I.Wave
AddInterface=%KSCATEGORY_RENDER%,"Wave",DevInst.I.Wave


;#####################################################################
;
; Common registry data
; ====================
;
;#####################################################################

[DevInst.AddReg]
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,%DriverFile%
HKR,,NTMPDriver,,"%DriverFile%,sbemul.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,,%DeviceName%
HKR,Drivers\mixer\wdmaud.drv,Description,,%DeviceName%

[DevInst.I.Topo]
AddReg=DevInst.I.Topo.AddReg

[DevInst.I.Topo.AddReg]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,"WanNengBianShengQi Audio Topo"

[DevInst.I.Wave]
AddReg=DevInst.I.Wave.AddReg

[DevInst.I.Wave.AddReg]
HKR,,CLSID,,%CLSID_Proxy%
HKR,,FriendlyName,,"WanNengBianShengQi Audio Wave"


;#####################################################################
;
; Files
; =====
;
;#####################################################################

[SourceDisksNames]
222=%DiskName%,,,

[SourceDisksFiles]
SafeVirtualSound64.sys=222,,

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

[DevInst.CopyList]
SafeVirtualSound64.sys


;#####################################################################
;
; Strings
; =======
;
;#####################################################################

[Strings]
Provider="WanNengBianShengQi"
DeviceName="WanNengBianShengQi Audio Device"
HardwareId=WanNengBianShengQiHW
ServiceName=WanNengBianShengQiAudioService
DriverFile=SafeVirtualSound64.sys
DiskName="WanNengBianShengQi Driver Disk"

KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"

CLSID_Proxy="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
