[Version]
Signature   = "$WINDOWS NT$"
Class       = SoftwareComponent
ClassGuid   = {5c4c3332-344d-483c-8739-259e934c9cc8}
Provider    = %ProviderName%
DriverVer   = 10/09/2020,1.0.7.0
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,%MsCopyRight%
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]
Apo.ComponentDesc = "Yamaha VC Audio Effects Component"

YAMAHA_VC_APO_CLSID  = "{861650AA-64E4-4933-8C77-BED101543101}"

ProviderName      = "Yamaha"
MfgName           = "Yamaha"
MsCopyRight       = "Copyright(c) 2020 Yamaha Corporation"

Apo.FriendlyName  = "Yamaha VC"
DiskId1           = "Yamaha VC APO Installation Disk"

APO_FLAG_DEFAULT  = 0x0000000e

APO_INTERFACE     = "{934766BB-D176-456E-831E-C45F407469C2}"

REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_MULTI_SZ = 0x00010000
