[Version] Signature="$WINDOWS NT$" Class=System ClassGuid={5d9a351e-4f62-43d8-9359-bf35e42679b8} Provider=%MSFT% DriverVer=06/21/2006,6.1.7601.17514 ;CatalogFile=delta.CAT ; Distribution Media information ; [SourceDisksNames] 1 = %TsUsbFlt.MediaDesc% [SourceDisksFiles] TsUsbFlt.sys = 1 [DestinationDirs] ; ; Driver to be installed in the drivers subdirectory. ; DefaultDestDir = 12 ; DIRID_DRIVERS [Manufacturer] %StdMfg%=DefaultInstall,NTamd64 %StdMfg%=InstallFilter,NTamd64 %StdMfg%=UninstallFilter,NTamd64 [DefaultInstall.NTamd64] ; ; DefaultInstall section is used to install the class filter driver. Use .NT platform extension so this ; section won't be executed on Windows 9x/ME. ; CopyFiles = @TsUsbFlt.sys [DefaultInstall.NTamd64.Services] ; ; Services section is required for installation of drivers on NT-based operating systems. ; AddService = TsUsbFlt, , TsUsbFlt_Service_Inst, TsUsbFlt_EventLog_Inst [TsUsbFlt_Service_Inst] DisplayName = %TsUsbFlt.SvcDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_IGNORE% ServiceBinary = %12%\TsUsbFlt.sys [TsUsbFlt_EventLog_Inst] AddReg = TsUsbFlt_EventLog_AddReg [TsUsbFlt_EventLog_AddReg] HKR,,EventMessageFile, %REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\TsUsbFlt.sys" HKR,,TypesSupported, %REG_DWORD%, 7 ;;; ;;; Install Filter ;;; [InstallFilter.NTamd64] AddReg = ClassFilter_AddReg [DefaultInstall.NTamd64.hw] ;AddReg = TSRedirection.Registration [TSRedirection.Registration] ;HKR,,"TSRedirFlags",0x10001,0x0 [ClassFilter_AddReg] ; ; add the driver as a USB class upper filter ; HKLM, System\CurrentControlSet\Control\Class\{36fc9e60-c465-11cf-8056-444553540000}, UpperFilters, 0x00010008, TsUsbFlt ;;; ;;; Uninstall Filter ;;; [UninstallFilter.NTamd64] DelReg = ClassFilter_DelReg [ClassFilter_DelReg] ; ; remove the driver as a USB class upper filter ; HKLM, System\CurrentControlSet\Control\Class\{36fc9e60-c465-11cf-8056-444553540000}, UpperFilters, 0x00018002, TsUsbFlt [Strings] ; ; Change the service description to describe your driver. ; TsUsbFlt.SvcDesc = "Remote Desktop USB Hub Class Filter Driver" ; Change the media description to describe your media. ; TsUsbFlt.MediaDesc = "Remote Desktop USB Hub Class Filter Driver" StdMfg = "(Standard system devices)" ; Useful constants SERVICE_KERNEL_DRIVER = 1 SERVICE_DEMAND_START = 3 SERVICE_ERROR_IGNORE = 0 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001