;
; Usb4DeviceRouter.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]
Usb4DeviceRouter.sys = 3426

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

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

[Standard.NTamd64]
%Usb4DeviceRouter.DeviceDesc%=Usb4DeviceRouter_Device, USB4\DEVICE_ROUTER
%Usb4RootDeviceRouter.DeviceDesc%=Usb4DeviceRouter_Device, USB4\ROOT_DEVICE_ROUTER
%Tbt3DeviceRouter.DeviceDesc%=Usb4DeviceRouter_Device, USB4\TBT3_DEVICE_ROUTER

[Usb4DeviceRouter_Device.NT]
CopyFiles=Drivers_Dir

[Drivers_Dir]
Usb4DeviceRouter.sys

[Usb4DeviceRouter_Device.NT.Events]
AddEventProvider = {D07E8C3F-78FB-4C22-B77C-2203D00BFDF3}, Usb4DeviceRouter_Device_EventProviderInstall

[Usb4DeviceRouter_Device_EventProviderInstall]
ProviderName  = Microsoft-Windows-USB-USB4DeviceRouter-EventLogs
ResourceFile  = %13%\Usb4DeviceRouter.sys
MessageFile   = %13%\Usb4DeviceRouter.sys
ImportChannel = System

;-------------- Service installation
[Usb4DeviceRouter_Device.NT.Services]
AddService = Usb4DeviceRouter,%SPSVCINST_ASSOCSERVICE%, Usb4DeviceRouter_Service_Inst

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

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

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

Usb4DeviceRouter.DeviceDesc = "USB4 Router"
Usb4RootDeviceRouter.DeviceDesc = "USB4 Root Router"
Tbt3DeviceRouter.DeviceDesc = "Thunderbolt 3(TM) Router"
Usb4DeviceRouter.SVCDESC = "USB4 Device Router Service"
