[Version]
Signature   = "$WINDOWS NT$"
Class       = SoftwareComponent
ClassGuid   = {5c4c3332-344d-483c-8739-259e934c9cc8}
Provider    = %Realtek%
DriverVer   = 10/25/2019,1.0.0.5
CatalogFile = RealtekASIO.cat

[SourceDisksNames]
222 = %DiskId1%

[SourceDisksFiles]
RTHDASIO64.dll=222
RTHDASIO.dll=222

[DestinationDirs]
SfxFx.CopyList=11 ; %SystemRoot%\system32
SfxFxWOW64.CopyList=10, "SysWOW64" 

[Manufacturer]
%Realtek% = AsioComponents,NTamd64

[AsioComponents.NTamd64]
%Asio.ComponentDesc% = AsioComponent_Install,SWC\VEN_10EC&ASIO_ID_0001

[AsioComponent_Install]
CopyFiles = SfxFx.CopyList, SfxFxWOW64.CopyList
AddReg    = RealtekAsio.AddReg

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

[SfxFx.CopyList]
RTHDASIO64.dll

[SfxFxWOW64.CopyList]
RTHDASIO.dll

[RealtekAsio.AddReg]
HKCR,CLSID\%ASIO_CO_CLASS%,,0,"Realtek ASIO"
HKCR,CLSID\%ASIO_CO_CLASS%\InProcServer32,,0x00020000,%%SystemRoot%%\System32\RTHDASIO64.dll
HKCR,CLSID\%ASIO_CO_CLASS%\InProcServer32,ThreadingModel,0,Apartment

HKCR,WOW6432Node\CLSID\%ASIO_CO_CLASS%,,0,"Realtek ASIO"
HKCR,WOW6432Node\CLSID\%ASIO_CO_CLASS%\InProcServer32,,0x00020000,%%SystemRoot%%\SysWow64\RTHDASIO.dll
HKCR,WOW6432Node\CLSID\%ASIO_CO_CLASS%\InProcServer32,ThreadingModel,0,Apartment

[Strings]
Realtek            = "Realtek"
Asio.ComponentDesc = "Realtek Asio Component"
DiskId1            = "Realtek Asio Installation Disk"

ASIO_CO_CLASS = "{A80362FF-CE76-4DD9-874A-704C57BF0D6A}"

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