;/*++
;
;Copyright (c) 2012 Teradici All Rights Reserved
;
;Module Name:
;
;    TERAMOUSE.INF
;
;Abstract:
;    INF file for installing Teradici HID Mouse
;
;--*/
[Version]
Signature="$WINDOWS NT$" 
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318} 
Provider=%VENDOR%
CatalogFile=teramouse.cat
DriverVer=08/21/2012,4.0.8
DriverPackageDisplayName=%DEVICE%
DriverPackageType=PlugAndPlay

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

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

[SourceDisksFiles]
teramouse.sys=1

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

[Manufacturer] 
%VENDOR%=Vendor,NTx86

; For XP and later
[Vendor.NTx86]
%DEVICE%=Device,HID\VID_6549&PID_1200&Col01

[Device.NT]
; Setting up some reg entries/files for the class/port drivers via msmouse.inf 
Include=msmouse.inf 
Needs=HID_Mouse_Inst.NT
CopyFiles=Device_CopyFiles

[Device.NT.HW]
; Including the sections needed by the port driver
Include=msmouse.inf
Needs=HID_Mouse_Inst.NT.HW
AddReg=Device.NT.HW.AddReg

[Device.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"teramouse"

[Device_CopyFiles]
teramouse.sys

;-------------- Service installation

[Device.NT.Services]
; Installs the class and port driver from msmouse.inf
Include=msmouse.inf
Needs=HID_Mouse_Inst.NT.Services
AddService=teramouse,,teramouse_Service_Inst

; -------------- Driver install sections

[teramouse_Service_Inst] 
DisplayName=%SERVICE%
ServiceType=0x00000001            ; SERVICE_KERNEL_DRIVER
StartType=0x3                     ; SERVICE_DEMAND_START 
ErrorControl=0x1                  ; SERVICE_ERROR_NORMAL
ServiceBinary=%12%\teramouse.sys
;LoadOrderGroup=Pointer Port
LoadOrderGroup=PNP Filter

;--- Device 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

[SourceDisksFiles]
WdfCoInstaller01009.dll=1

[Device.NT.Wdf]
KmdfService=teramouse,teramouse_wdfsect

[teramouse_wdfsect]
KmdfLibraryVersion=1.9

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

