;
; ts_generic.inf:
; a simple catch all inf for redirected devices
; Copyright (c) Microsoft Corporation.
;

[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={88A1C342-4539-11d3-B88D-00C04FAD5171}
Provider=%Msft%
DriverVer=06/21/2006,6.1.7600.16385

[Manufacturer]
%Msft%=Generic,NTamd64

[Generic.NTamd64]
%TSDeviceDescription%=TS_Generic_Install,TS_GENERIC_PNP_DEVICE
%TSPOSDeviceDescription%=TS_Generic_Install,TS_POS_DEVICE

[ClassInstall32]
AddReg=WDF_RegistryAdd

[WDF_RegistryAdd]
HKR,,,,%TSClassName%
HKR,,Icon,,"-10"

; =================== WUDF ts_generic Driver ==================================

[TS_Generic_Install]
SubClass=StillImage

[TS_Generic_Install.hw]
AddReg=Device_AddReg

[TS_Generic_Install.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[TS_Generic_Install.CoInstallers]
AddReg = TS_Generic_Install.CoInstallers_AddReg

[TS_Generic_Install.Wdf]
Needs = TS_Generic_Install_WdfBasic
UmdfServiceOrder=UsbDr
; HID devices use METHOD_NEITHER
; in order to make them work, we need following line.
UmdfMethodNeitherAction=Copy

[TS_Generic_Install_WdfBasic]
UmdfService=UsbDr, UsbDr_Install
UmdfImpersonationLevel=impersonation


[TS_Generic_Install.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WUDFCoinstaller.dll", "TsPnPRdrCoInstaller.dll, TsPnPRdrCoInstaller"


[Root_AddReg.security]
"D:P(A;OICI;GA;;;SY)(A;OICI;GA;;;BA)(A;OICI;GR;;;LS)"

[Device_AddReg]
HKR,"WUDF"
HKR,"WUDF","DriverList",0x00010000,"UsbDr"
HKR,"WUDF","DeviceGroupId",0x00000000, "TSRedirectedDevices"

[WUDFRD_ServiceInstall]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\WUDFRd.sys

[UsbDr_Install]
UmdfLibraryVersion=1.9.0
ServiceBinary=%12%\UMDF\UsbDr.dll
DriverCLSID="{1b7cf8de-e34b-40d0-8466-ca06a10b0d22}"


[Strings]
;; Localizable Strings
TSClassName="RD generic Device Class"
TSDeviceDescription="Remote Desktop Generic PNP Redirected Device"
TSPOSDeviceDescription="Remote Desktop POS Redirected Device"
;; Non Localizable Strings
Msft="Microsoft"
