[Version]
Signature="$CHICAGO$"
Class=MEDIA
Provider=%Provider%
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
DriverVer = 08/03/2015, 4.3.9
CatalogFile=mp4recordervad.cat

[DestinationDirs]
DefaultDestDir = 12 ; system32/drivers

[SourceDisksNames.x86]
1="MP4 Recorder VAD Driver Disk"

[SourceDisksNames.amd64]
1="MP4 Recorder VAD Driver Disk"

[SourceDisksFiles.x86]
mp4recordervad.sys=1

[SourceDisksFiles.amd64]
mp4recordervad64.sys=1

[Manufacturer]
%MfgName%=ThirdMillennium,NTAMD64

[ThirdMillennium]
%MP4RecorderVAD.DeviceDesc%=MP4RecorderVAD,*MP4RecorderVAD

[ThirdMillennium.NTAMD64]
%MP4RecorderVAD.DeviceDesc%=MP4RecorderVAD.NTAMD64,*MP4RecorderVAD


;======================================================
; MP4RecorderVAD
;======================================================
[MP4RecorderVAD]
AlsoInstall	= ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles	= @mp4recordervad.sys
AddReg		= MP4RecorderVAD.AddReg
Include   	= ks.inf,wdmaudio.inf
Needs     	= KS.Registration, WDMAUDIO.Registration

[MP4RecorderVAD.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,MP4RecorderVAD.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,MP4RecorderVAD.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,MP4RecorderVAD.I.Topo

[MP4RecorderVAD.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,mp4recordervad.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,,%MP4RecorderVAD.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MP4RecorderVAD.DeviceDesc% 
HKLM,%MediaCategories%\%MP4RecorderVAD.NameGuid%,Name,,%MP4RecorderVAD.Name%

[MP4RecorderVAD.Services]
AddService	= MP4RecorderVAD,0x00000002,MP4Recorder_Service_Inst

[MP4Recorder_Service_Inst]
DisplayName	= %MP4RecorderVAD.SvcDesc%
ServiceType	= 1
StartType	= 3
ErrorControl	= 1
ServiceBinary	= %12%\mp4recordervad.sys


[MP4RecorderVAD.NTAMD64]
AlsoInstall	= ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles	= @mp4recordervad64.sys
AddReg		= MP4RecorderVAD64.AddReg
Include   	= ks.inf,wdmaudio.inf
Needs     	= KS.Registration, WDMAUDIO.Registration

[MP4RecorderVAD.NTAMD64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,MP4RecorderVAD.I.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,MP4RecorderVAD.I.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,MP4RecorderVAD.I.Topo

[MP4RecorderVAD64.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,mp4recordervad64.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,,%MP4RecorderVAD.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MP4RecorderVAD.DeviceDesc% 
HKLM,%MediaCategories%\%MP4RecorderVAD.NameGuid%,Name,,%MP4RecorderVAD.Name%

[MP4RecorderVAD.NTAMD64.Services]
AddService	= MP4RecorderVAD,0x00000002,MP4Recorder_Service_Inst64

[MP4Recorder_Service_Inst64]
DisplayName	= %MP4RecorderVAD.SvcDesc%
ServiceType	= 1
StartType	= 3
ErrorControl	= 1
ServiceBinary	= %12%\mp4recordervad64.sys

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

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

[Strings]
Provider="Third Millennium LLC"
MfgName="Third Millennium LLC"
MP4RecorderVAD.DeviceDesc="MP4 Recorder Virtual Audio Device"


MP4RecorderVAD.Wave.szPname="MP4RecorderVAD Wave"
MP4RecorderVAD.Topo.szPname="MP4RecorderVAD Topology"

Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"

KSNAME_Wave="Wave"
KSNAME_Topology="Topology"

MP4RecorderVAD.SvcDesc="MP4 Recorder Virtual Audio Device"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

MP4RecorderVAD.NameGuid="{946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}"
MP4RecorderVAD.Name="MP4 Recorder VAD"


