;
; Usb4HR.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36fc9e60-c465-11cf-8056-444553540000}
Provider=%ASMT%
CatalogFile=Usb4HR32.cat
DriverVer=12/12/2023,1.0.0.0000
PnpLockDown=1

[DestinationDirs]
DefaultDestDir = 12
usb4_empty_Device_CoInstaller_CopyFiles = 11

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
Usb4HR32.sys  = 1,,
;WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ASMT%=Standard,NTx86

[Standard.NTx86]
%Usb4HR.DeviceDesc%=Usb4HR_inst, PCI\VEN_1B21&DEV_2425

[Usb4HR_inst.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
Usb4HR32.sys

[Usb4HR_inst.NT.HW]
AddReg=Usb4HR_AddReg

[Usb4HR_AddReg]
; By default, USBDevice class uses iProduct descriptor to name the device in
; Device Manager on Windows 8 and higher.
; Uncomment for this device to use %DeviceName% on Windows 8 and higher:
;HKR,,FriendlyName,,%usb4_empty.DeviceDesc%

;-------------- Service installation
[Usb4HR_inst.NT.Services]
AddService = Usb4HR,%SPSVCINST_ASSOCSERVICE%, Usb4HR_Service_Inst

; -------------- usb4_empty driver install sections
[Usb4HR_Service_Inst]
DisplayName    = %Usb4HR.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\Usb4HR32.sys

;
;--- Usb4HI Coinstaller installation ------
;

[Usb4HR_inst.NT.CoInstallers]
AddReg=Usb4HR_CoInstaller_AddReg
CopyFiles=Usb4HR_CoInstaller_CopyFiles

[Usb4HR_CoInstaller_AddReg]
;


[Usb4HR_CoInstaller_CopyFiles]
;


[Usb4HR_inst.NT.Wdf]
KmdfService =  Usb4HR, Usb4HR_wdfsect
[Usb4HR_wdfsect]
KmdfLibraryVersion = 1.15

[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ASMT="ASMedia Technology Inc." 
DiskName= "Usb4HR Installation Disk"
ClassName="Universal Serial Bus devices"
Usb4HR.DeviceDesc = "USB4 Host Router"
Usb4HR.SVCDESC = "USB4 Host Router"
REG_MULTI_SZ = 0x00010000
