;/*++
;
;Copyright (c) N-Trig.  All rights reserved.
;
;Module Name:
;
;    NtrigDigi.INF	-	Dell AMG    -    64 bit
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=NTRIG_DIGITIZERS
ClassGuid={8D4F4C83-C49F-495c-B9FC-D826A7D4E34D}
Provider=%N-Trig%
DriverVer=08/18/2010,3.1.2000.6
CatalogFile.NTAMD64  = NtrigDigi64.cat

[ControlFlags]
ExcludeFromSelect = *


; ================= Source/Destination Media Section =====================

[DestinationDirs]
HID_Device.NT.Copy=12,UMDF
CoInstallers_CopyFiles=11
USB_Install.Copy=12
USB_Install_CoInstallers_CopyFiles=11

[SourceDisksNames]
1=%ntrigdigidisk%

[SourceDisksFiles]
NtrigDigi.dll = 1
SensorInterfaceTrackCoreDLL.dll = 1
NtrigDigitizerUSBLowerFilter.sys=1
WinUSBCoInstaller2.dll=1

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

[ClassInstall32]
Addreg=MyDeviceClassReg

[ClassInstall32.Services]

[MyDeviceClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-1

; ========== Manufacturer/Models sections ===========

[Manufacturer]
%StdMfg%=Standard,NTAMD64.6.1.1

[Standard.NTAMD64.6.1.1]
%NtrigComposite%=          HID_Composite,    USB\VID_1B96&PID_0001&REV_2000

%NtrigUSBHIDInterface1%=   HID_SelSus_Ins,   USB\VID_1B96&PID_0001&REV_2000&mi_00
%NtrigHIDCompliant0%=      HID_SelSus_Raw,   HID\VID_1B96&PID_0001&REV_2000&mi_00

%NtrigUSBHIDInterface2%=   HID_SelSus_Ins,   USB\VID_1B96&PID_0001&REV_2000&mi_01
%NtrigHIDCompliant1%=      HID_SelSus_Raw,   HID\VID_1B96&PID_0001&REV_2000&mi_01&col01
%NtrigDevice%=             HID_Device,       HID\VID_1B96&PID_0001&REV_2000&MI_01&Col02
%NtrigHIDCompliant3%=      HID_SelSus_Raw,   HID\VID_1B96&PID_0001&REV_2000&mi_01&col03

%DeviceDesc%  =            USB_Install,      USB\VID_1B96&PID_0001&REV_2000&MI_02

; =================== Installation ===================

[HID_Composite.NT]
Include=usb.inf
Needs = Composite.Dev.NT

[HID_Composite.NT.Services]
Include=usb.inf
Needs = Composite.Dev.NT.Services

[HID_Composite.NT.HW]
AddReg = HID_Composite.AddReg.NT.HW

[HID_Composite.AddReg.NT.HW]

[HID_SelSus_Ins.NT]
Include=input.inf
Needs = HID_SelSus_Inst.NT

[HID_SelSus_Ins.NT.HW]
AddReg = HID_SelSus_Ins.AddReg.NT.HW

[HID_SelSus_Ins.NT.Services]
Include=input.inf
Needs = HID_SelSus_Inst.NT.Services

[HID_SelSus_Ins.AddReg.NT.HW]
HKR,,"SelectiveSuspendOn",0x00010001,1
HKR,,"SelectiveSuspendEnabled",0x00010001,1

[HID_SelSus_Raw.NT]
AddReg = HID_SelSus_Raw_AddReg.NT.HW

[HID_SelSus_Raw.NT.HW]
AddReg = HID_SelSus_Raw_AddReg.NT.HW

[HID_SelSus_Raw_AddReg.NT.HW]

[USB_Install.NT]
Include=winusb.inf
Needs=WINUSB.NT
CopyFiles=USB_Install.Copy

[USB_Install.Copy]
NtrigDigitizerUSBLowerFilter.sys

[USB_Install.NT.Services]
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall
AddService = NtrigDigitizerUSBLowerFilter,, filter_Service_Inst 

[filter_Service_Inst]
DisplayName    = %filter.SvcDesc%                            
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\NtrigDigitizerUSBLowerFilter.sys                            

[WinUSB_ServiceInstall]
DisplayName     = %WinUSB_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.NT.Wdf]
KmdfService=WINUSB, WinUsb_Install
KmdfService = NtrigDigitizerUSBLowerFilter,  NtrigDigitizerUSBLowerFilter_wdfsect

[WinUSB_Install]
KmdfLibraryVersion=1.5

[NtrigDigitizerUSBLowerFilter_wdfsect]
KmdfLibraryVersion = 1.5

[USB_Install.NT.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,"LowerFilters",0x00010000,"NtrigDigitizerUSBLowerFilter"
HKR,,DeviceInterfaceGUIDs,0x10000,"{b35924d6-3e16-4a9e-9782-5524a4b79bac}"
HKR,,"DeviceIdleEnabled",0x00010001,1
HKR,,"DefaultIdleState",0x00010001,1
HKR,,"DefaultIdleTimeout",0x00010001,5000
HKR,,"SystemWakeEnabled",0x00010001,0
HKR,WDF,"IdleInWorkingState",0x00010001,0x1

HKR,,"UserSetDeviceIdleEnabled",0x00010001,0
HKR,WDF,"WakeFromSleepState",0x00010001,0x0

[USB_Install.NT.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=USB_Install_CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000, "WinUSBCoInstaller2.dll"

[USB_Install_CoInstallers_CopyFiles]
WinUSBCoInstaller2.dll
[HID_Device.NT]
AddReg=HID_Device_add_reg
CopyFiles=HID_Device.NT.Copy

[HID_Device.NT.HW]
AddReg=HID_Device_add_reg

[HID_Device_add_reg]

[HID_Device.NT.CoInstallers]
AddReg=HID_Device_CoInstaller_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_CopyFiles]

[HID_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WUDFCoInstaller.dll"

[HID_Device.NT.Wdf]
UmdfImpersonationLevel = Impersonation
UmdfService = NtrigDigi, HID_Device_wdfsect
UmdfServiceOrder = NtrigDigi
UmdfMethodNeitherAction = Copy
UmdfKernelModeClientPolicy = AllowKernelModeClients

[HID_Device_wdfsect]
UmdfLibraryVersion=1.9.0
DriverCLSID="{a732f3b7-b7d2-461c-82b3-12d8f56287bb}"
ServiceBinary=%12%\UMDF\NtrigDigi.dll

[HID_Device.NT.Services]
AddService = WUDFRd, 0x000001fa, WUDFRD_Service_Inst

[WUDFRD_Service_Inst]
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\WUDFRd.sys

[HID_Device.NT.Copy]
NtrigDigi.dll
SensorInterfaceTrackCoreDLL.dll

; =================== Strings ===================


[Strings]
ntrigdigidisk="ntrigdigidisk"
N-Trig= "N-Trig"
StdMfg = "N-trig Ltd."

NtrigHIDCompliant0=      "N-trig DuoSense Control HID device"
NtrigHIDCompliant1=      "N-trig DuoSense Pen HID device"
NtrigHIDCompliant3=      "N-trig DuoSense Touch HID device"
NtrigDevice =            "N-trig DuoSense MultiTouch HID device"

NtrigComposite=         "N-trig DuoSense Composite Root interface"
NtrigUSBHIDInterface1=  "N-trig DuoSense Control HID Interface"
NtrigUSBHIDInterface2=  "N-trig DuoSense Touch HID Interface"
DeviceDesc=             "N-trig DuoSense Secondary Interface"

WinUSB_SvcDesc="N-trig DuoSense Control Interface"
filter.SvcDesc = "N-Trig DuoSense Control Interface Filter Driver"
ClassName="N-trig DuoSense(R) Digitizers"
