;
; Usb4HostRouter.inf
;

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider = %ProviderName%
PnpLockdown=1
DriverVer = 09/21/2024,10.0.22621.4249

[DestinationDirs]
Drivers_Dir = 13

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
Usb4HostRouter.sys = 3426

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

[Manufacturer]
%Standard.Mfg%=Standard,NTamd64

[Standard.NTamd64]
%Usb4HostRouter.DeviceDesc%=Usb4HostRouter_Device, PCI\USB4_MS_CM
%Usb4HostRouter.DeviceDesc%=Usb4HostRouter_Device, ACPI\ACPI0015

[Usb4HostRouter_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
Usb4HostRouter.sys

;-------------- Service installation
[Usb4HostRouter_Device.NT.Services]
AddService = Usb4HostRouter,%SPSVCINST_ASSOCSERVICE%, Usb4HostRouter_Service_Inst

[Usb4HostRouter_Device.NT.HW]
AddReg = MSI.reg

[MSI.reg]
HKR, "Interrupt Management",                                      0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",   0x00000010
HKR, "Interrupt Management\MessageSignaledInterruptProperties",   MSISupported,        0x00010001, 1
HKR, "Interrupt Management\MessageSignaledInterruptProperties",   MessageNumberLimit,  0x00010001, 16

; -------------- Usb4HostRouter driver install sections
[Usb4HostRouter_Service_Inst]
DisplayName    = %Usb4HostRouter.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %13%\Usb4HostRouter.sys
AddReg         = Usb4HostRouter_Service_Inst.AddReg

[Usb4HostRouter_Service_Inst.AddReg]
HKR, Parameters, DmaRemappingCompatible, 0x00010001, 1
HKR, Parameters, ForceLogsInMiniDump, 0x00010001, 1
HKR, Parameters, WppRecorder_UseTimeStamp, 0x00010001, 1

[Strings]
Standard.Mfg = "Generic USB4 Host Router"
SPSVCINST_ASSOCSERVICE= 0x00000002
ProviderName = "Microsoft"

Usb4HostRouter.DeviceDesc = "USB4(TM) Host Router (Microsoft)"
Usb4HostRouter.SVCDESC = "USB4 Host Router Service"
