[Version]
Signature   = "$WINDOWS NT$"
Class       = AudioProcessingObject
ClassGuid   = {5989fce8-9cd0-467d-8a6a-5419e31529d4}
Provider    = %ProviderName%
DriverVer   = 08/29/2022,2.0.0.2
CatalogFile = YamahaVC.cat

[SourceDisksNames]
222 = %DiskId1%

[SourceDisksFiles]
YamahaVC.dll=222

[DestinationDirs]
SfxFx.CopyList=11 ; %SystemRoot%\system32

[SignatureAttributes]
YamahaVC.dll=SignatureAttributes.PETrust

[SignatureAttributes.DRM]
DRMLevel=1300

[SignatureAttributes.PETrust]
PETrust=true

[Manufacturer]
%MfgName% = ApoComponents,NTamd64

[ApoComponents.NTamd64]
%Apo.ComponentDesc% = ApoComponent_Install,SWC\VEN_YAMAHA&AID_YVC0

[ApoComponent_Install]
CopyFiles = SfxFx.CopyList
AddReg    = YamahaVC.AddReg

[ApoComponent_Install.Services]
AddService=,2    ; no function driver

[SfxFx.CopyList]
YamahaVC.dll

[YamahaVC.AddReg]
; YamahaVC Mode effect APO COM registration
HKCR,CLSID\%YAMAHA_VC_APO_CLSID%,,0,%Apo.FriendlyName%
HKCR,CLSID\%YAMAHA_VC_APO_CLSID%\InProcServer32,,0x00020000,%%SystemRoot%%\System32\YamahaVC.dll
HKCR,CLSID\%YAMAHA_VC_APO_CLSID%\InProcServer32,ThreadingModel,0,Both

; YamahaVC Mode effect APO registration
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,FriendlyName,0,%Apo.FriendlyName%
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,Copyright,0,%CopyRight%
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MajorVersion,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MinorVersion,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,Flags,0x00010001,%APO_FLAG_DEFAULT%
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MinInputConnections,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MaxInputConnections,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MinOutputConnections,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MaxOutputConnections,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,MaxInstances,0x00010001,0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,NumAPOInterfaces,0x00010001,0x00000001
HKCR,AudioEngine\AudioProcessingObjects\%YAMAHA_VC_APO_CLSID%,APOInterface0,0,%APO_INTERFACE%

[ApoComponent_Install.HW]
AddReg = FriendlyName_AddReg

[FriendlyName_AddReg]
HKR,,FriendlyName,,%Apo.ComponentDesc%

[Strings]
MfgName           = "Yamaha Corporation"
ProviderName      = "Yamaha Corporation"
Apo.ComponentDesc = "Yamaha VC Audio Effects Component"
DiskId1           = "Yamaha VC APO Installation Disk"

; Driver developers would replace these CLSIDs with those of their own APOs
YAMAHA_VC_APO_CLSID  = "{861650AA-64E4-4933-8C77-BED101543101}"

; see audioenginebaseapo.idl for APO_FLAG enum values
APO_FLAG_DEFAULT  = 0x0000000e

APO_INTERFACE     = "{934766BB-D176-456E-831E-C45F407469C2}"
Apo.FriendlyName  = "Yamaha VC"
CopyRight         = "Copyright(c) 2020-2022 Yamaha Corporation"
