;
; INF file for RemotePoint RF device.
;

[Version]
Signature="$WINDOWS NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%INTERLINK%
LayoutFile=layout.inf
DriverVer=11/14/1999,5.00.2183.1


[Manufacturer]
"Interlink Electronics"=INTERLINK

[SourceDisksNames]
1 = %MediaName%

[SourceDisksFiles]
rprfflt.inf = 1
rprfflt.sys = 1


[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12
HID_Inst.CopyFilesDLL.NT = 11
PID_Inst.CopyFilesDLL.NT = 11


[INTERLINK]
;
; Generic HID Interface (HidUsb as service)
;
%HID\VID_04DF&PID_0007.DeviceDesc%=HID_Mouse_Inst, HID\VID_04DF&PID_0007
%HID\VID_04DF&PID_0012.DeviceDesc%=HID_Mouse_Inst, HID\VID_04DF&PID_0012
%HID\VID_04DF&PID_0012&Mi_01.DeviceDesc%=HID_Mouse_Inst, HID\VID_04DF&PID_0012&Mi_01



;=====================================================================
[HID_Mouse_Inst.NT]
Copyfiles = HID_Mouse_Inst.CopyFiles.NT
AddReg = HID_Mouse_Inst.AddReg

[HID_Mouse_Inst.NT.HW]
AddReg = HID_Mouse_Inst.AddReg.NT

[HID_Mouse_Inst.AddReg]
;
;  Insert regular (software-branch) registry entries here
;


[HID_Mouse_Inst.AddReg.NT]
;
;  This HW-branch AddReg section adds values to the hardware-branch
;  registry key of the device (under HKLM\System\CurrentControlSet\Enum).
;
;  "LowerFilters" and "UpperFilters" are special values that indicate
;  to the kernel that one or more filter drivers should be loaded along
;  with the driver for this device.
;
;  You may also include other values here.  These values can be read
;  by the driver.  The 'SampleFilterParam' value is read by the rprfflt.sys
;  sample driver as an example.
;
HKR,,"LowerFilters",0x00010000,"rprfflt"


[HID_Mouse_Inst.CopyFiles.NT]
mouhid.sys
mouclass.sys
rprfflt.sys,,,16


[HID_Mouse_Inst.NT.Services]
AddService = mouhid,%SPSVCINST_ASSOCSERVICE%,MouHid_Service_Inst,MouHid_EventLog_Inst ; Port Driver
AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst            ; Class Driver
AddService = rprfflt,,Filter_Service_Inst

[mouclass_EventLog_Inst]
AddReg = mouclass_EventLog_AddReg

[mouclass_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mouclass.sys"
HKR,,TypesSupported,0x00010001,7

[MouHid_Service_Inst]
DisplayName    = %MOUHID.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = 3; %SERVICE_SYSTEM_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\mouhid.sys
LoadOrderGroup = Pointer Port
AddReg = MouHid_Service_Inst_AddReg

[MouHid_Service_Inst_AddReg]
HKR,"Parameters","UseOnlyMice",0x00010001,0
HKR,"Parameters","TreatAbsoluteAsRelative",0x00010001,0
HKR,"Parameters","TreatAbsolutePointerAsAbsolute",0x00010001,0


[MouHid_EventLog_Inst]
AddReg = MouHid_EventLog_AddReg

[MouHid_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mouhid.sys"
HKR,,TypesSupported,0x00010001,7


[mouclass_Service_Inst]
DisplayName    = %mouclass.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\mouclass.sys
LoadOrderGroup = Pointer Class

[Filter_Service_Inst]
DisplayName    = "InterlinkElectronics' RemotePoint RF/USB"
ServiceType    = 1 ;%SERVICE_KERNEL_DRIVER%
StartType      = 3 ;%SERVICE_DEMAND_START%
ErrorControl   = 0 ;%SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\rprfflt.sys
LoadOrderGroup = extended base

;=====================================================================


[Strings]
HID\VID_04DF&PID_0007.DeviceDesc="Remotepoint RF/USB Device"
HID\VID_04DF&PID_0012.DeviceDesc="Remotepoint RF/USB Device"
HID\VID_04DF&PID_0012&Mi_01.DeviceDesc="Remotepoint RF/USB Device"
INTERLINK="Interlink Electronics http://www.interlinkelectronics.com"
MediaName="RemotePoint RF Installation Disk"

SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_IGNORE  = 0
SERVICE_AUTO_START    = 2

