;
; ts_generic.inf:
; a simple catch all inf for redirected devices
; Copyright (c) Microsoft Corporation.
;

[Version]
Signature="$WINDOWS NT$"
Class=TS_Generic
ClassGuid={88A1C342-4539-11d3-B88D-00C04FAD5171}
Provider=%Msft%
DriverVer = 06/21/2006,10.0.20348.1
PnpLockdown=1

[Manufacturer]
%Msft%=Generic,NTamd64

[Generic.NTamd64]
%TSDeviceDescription%=TS_Generic_Install,TS_GENERIC_PNP_DEVICE
%TSDeviceDescription%=TS_Generic_Basic_Install ; Used by Include/Needs
%TSPOSDeviceDescription%=TS_Generic_Install,TS_POS_DEVICE

[ClassInstall32]
AddReg=TS_Generic_Class_AddReg

[TS_Generic_Class_AddReg]
HKR,,,,%TSClassName%
HKR,,IconPath,0x00010000,"%%SystemRoot%%\System32\setupapi.dll,-73"

; =================== WUDF ts_generic Driver ==================================

[TS_Generic_Install]
Include=wudfrd.inf
Needs=WUDFRD.NT
AddProperty=TS_Generic_AddProperty

[TS_Generic_AddProperty]
; TSRedirectedDeviceSharedAccess = 1
{52709fed-e8d3-4c8e-9fd7-d759321e90be},1,7,,1

[TS_Generic_Install.HW]
Include=wudfrd.inf
Needs=WUDFRD.NT.HW
AddReg=TS_Generic_Device_AddReg

[TS_Generic_Install.Services]
Include=wudfrd.inf
Needs=WUDFRD.NT.Services

[TS_Generic_Install.Wdf]
UmdfService=UsbDr, UsbDr_Install
UmdfImpersonationLevel=impersonation
UmdfServiceOrder=UsbDr
; HID devices use METHOD_NEITHER
; in order to make them work, we need following line.
UmdfMethodNeitherAction=Copy

[TS_Generic_Device_AddReg]
HKR,"WUDF","DeviceGroupId",0x00000000, "TSRedirectedDevices"

[UsbDr_Install]
UmdfLibraryVersion=1.9.0
ServiceBinary=%12%\UMDF\UsbDr.dll
DriverCLSID="{1b7cf8de-e34b-40d0-8466-ca06a10b0d22}"

[TS_Generic_Basic_Install]
Include=wudfrd.inf
Needs=WUDFRD.NT
AddProperty=TS_Generic_AddProperty

[TS_Generic_Basic_Install.Hw]
Include=wudfrd.inf
Needs=WUDFRD.NT.HW
AddReg=TS_Generic_Device_AddReg

[TS_Generic_Basic_Install.Services]
Include=wudfrd.inf
Needs=WUDFRD.NT.Services

[TS_Generic_Basic_Install.Wdf]
UmdfService=UsbDr, UsbDr_Install
UmdfImpersonationLevel=impersonation

[Strings]
; localizable strings
TSClassName="Generic Remote Desktop devices"
TSDeviceDescription="Remote Desktop Generic PNP Redirected Device"
TSPOSDeviceDescription="Remote Desktop POS Redirected Device"

; non-localizable strings
Msft="Microsoft"
