;/*++
;
;Copyright (c) 2012 Teradici All Rights Reserved
;
;Module Name:
;
;    TERAHID.INF
;
;Abstract:
;    INF file for installing Teradici HID Mapper
;
;--*/
[Version]
Signature="$Windows NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%VENDOR%
CatalogFile=terahid.cat
DriverVer=01/10/2014,4.2.2
DriverPackageDisplayName=%DEVICE%
DriverPackageType=PlugAndPlay

[SourceDisksNames]
99=%DISK_NAME%,,,""

[DestinationDirs]
DefaultDestDir=12  ; %windir%\system32\drivers
;CopyFilesSYS=12

[SourceDisksFiles]
terahid.sys=99,,
terahidmapper.sys=99,,

;===============================================================
;   terahid 
;===============================================================

[Manufacturer]
%VENDOR%=Vendor,NTAMD64

; For XP and later
[Vendor.NTAMD64]
%DEVICE%=Device,PCOIP\VID_6549&PID_1200

[Device.NT]
CopyFiles=Device_CopyFiles

[Device.NT.HW]
AddReg=Device.NT.AddReg 

;
; terahidmapper is the function driver and terahid is the lower filter
;
[Device.NT.Services]
AddService=terahidmapper,0x00000002,terahidmapper_Service_Inst,
AddService=terahid,,terahid_Service_Inst

[Device_CopyFiles]
terahid.sys
terahidmapper.sys

[Device.NT.AddReg]
HKR,,"LowerFilters",0x00010000,"terahid"

[terahid_Service_Inst]
DisplayName=%DEVICE%
ServiceType=0x00000001            ; SERVICE_KERNEL_DRIVER
StartType=0x3                     ; SERVICE_DEMAND_START 
ErrorControl=0x1                  ; SERVICE_ERROR_NORMAL
ServiceBinary=%12%\terahid.sys 
LoadOrderGroup=PNP Filter

[terahidmapper_Service_Inst]
DisplayName=%SERVICE%
ServiceType=0x00000001            ; SERVICE_KERNEL_DRIVER
StartType=0x3                     ; SERVICE_DEMAND_START 
ErrorControl=0x1                  ; SERVICE_ERROR_NORMAL
ServiceBinary=%12%\terahidmapper.sys

;================================================================
;--- WDF Coinstaller installation ------
;
[DestinationDirs]
CoInstaller_CopyFiles=11

[Device.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll,,,0x00000010

[SourceDisksFiles]
WdfCoInstaller01009.dll=99

[Device.NT.Wdf]
KmdfService=terahid,terahid_wdfsect

[terahid_wdfsect]
KmdfLibraryVersion=1.9

[Strings] 
VENDOR="Teradici" 
DISK_NAME="PCoIP(R) HID Minidriver Install Disk"
DEVICE="PCoIP(R) HID Minidriver"
SERVICE="PCoIP(R) HID Minidriver Service"

