;/*++
;
; Setup INF file for Mouse Suite
; Copyright (C) 2009-2013, All rights reserved.
;
;Module Name:
;
;    Phidmou.INF
;
;Abstract:
;    Installation inf 
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%Provider%
DriverVer=07/05/2013,2.0.0.0
CatalogFile=ms99.cat


[ControlFlags]
ExcludeFromSelect.ntx86=*
ExcludeFromSelect.ntamd64=*

; ================= Class section =====================

;[ClassInstall32]
;Addreg=HidClassReg     

;[HidClassReg]
;HKR,,,0,%ClassName%
;HKR,,Icon,,-5

[DestinationDirs]
DefaultDestDir = 12
HPub064C.Files.Ext = 12

; ================= Device section =====================

[Manufacturer]
%MfgName%=PMouse,NTx86,NTAMD64

; For Win2K
[PMouse]
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}&VID_03f0&PID_064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000203f0_PID&064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\VID_03f0&PID_064c&Col03

; For XP and later
[PMouse.NTx86]
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}&VID_03f0&PID_064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000203f0_PID&064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\VID_03f0&PID_064c&Col03    

[PMouse.NTAMD64]
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}&VID_03f0&PID_064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\{00001124-0000-1000-8000-00805f9b34fb}_VID&000203f0_PID&064c&Col03
%BT01.mouse.desc% = HPub064C.Dev,HID\VID_03f0&PID_064c&Col03  



[HPub064C.Dev.NT]
Include = hidserv.inf
Needs = HIDSystemConsumer ; For copying and starting HidServ on XP
CopyFiles=HPub064C.Files.Ext

[HPub064C.Dev.NT.HW]
AddReg		= HPub064C.Dev.NT.HW.AddReg


[HPub064C.Dev.NT.HW.AddReg]
HKR,,"LowerFilters",0x00010000,"HPub064C","HPMo064C"


[HPub064C.Dev.NT.Services]
Addservice = HPub064C,,HPub064C.AddService
Addservice = HPMo064C,,HPMo064C.AddService
Include = hidserv.inf
Needs = HIDSystemConsumerDevice.Services,HIDSystemConsumer.Services ; For starting HidServ on Vista

[HPub064C.AddService]
DisplayName    = %HPub064C.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\HPub064C.sys
;AddReg         = HPub064C.AddReg
LoadOrderGroup = extended base

[HPub064C.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,65536
HKR,"Parameters","DebugLevel",0x10001,2

[HPMo064C.AddService]
DisplayName    = %HPMo064C.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\HPMo064C.sys
;AddReg         = HPMo064C.EventLog.Inst.NT
LoadOrderGroup = Pointer Port
;LoadOrderGroup = Pointer Class

[HPMo064C.EventLog.Inst.NT]
AddReg         = HPMo064C.EventLog.AddReg.NT

[HPMo064C.EventLog.AddReg.NT]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\HPMo064C.sys"
HKR,,TypesSupported,%REG_DWORD%,7


[HPub064C.Files.Ext]
HPub064C.sys
HPMo064C.sys

[SourceDisksNames]
1=%Disk_Description%,"x86.cab"

[SourceDisksNames.amd64]
2=%Disk_Description%,"x64.cab"

[SourceDisksFiles.x86]
HPub064C.sys = 1
HPMo064C.sys  = 1
WdfCoInstaller01009.dll=1

[SourceDisksFiles.amd64]
HPub064C.sys = 2
HPMo064C.sys  = 2
WdfCoInstaller01009.dll=2

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

[HPub064C.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[HPub064C.Dev.ntamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

;;;[SourceDisksFiles]
;;;WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

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

[HPub064C.Dev.NT.Wdf]
KmdfService = HPub064C, HPub064C_wdfsect

[HPub064C.Dev.ntamd64.Wdf]
KmdfService = HPub064C, HPub064C_wdfsect



[HPub064C_wdfsect]
KmdfLibraryVersion = 1.9

;---------------------------------------------------------------;

[Strings]
Provider    = "Hewlett-Packard"
MfgName     = "Hewlett-Packard"
 

Disk_Description= "HPub064C Installation Disk"
HPub064C.SvcDesc = "USB Mouse Low Filter Driver_064C (WDF Version)"
HPMo064C.SvcDesc = "Mouse Suite Driver_064C (WDF Version)"
ClassName       = "Human Interface Devices"
BT01.mouse.desc="HP Bluetooth Mouse X7500"

