;/*++
;
;Copyright (c) N-Trig.  All rights reserved.
;
;Module Name:
;
;    NtrigBoot.INF	-	BootLoader
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=NTRIG_DIGITIZERS_BOOT
ClassGuid={AE5B9C2A-0B35-4771-A38F-01C9E2D83191}
Provider=%N-Trig%
DriverVer=10/17/2012,5.22.4.2
CatalogFile.NTx86  = NtrigDigiB86.cat

[ControlFlags]
ExcludeFromSelect = *

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

[DestinationDirs]
DefaultDestDir = 12
USB_Install.Copy=12

[SourceDisksNames]
1=%ntrigdigidisk%

[SourceDisksFiles]

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

[ClassInstall32]
Addreg=MyDeviceClassReg

[ClassInstall32.Services]

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

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

[Manufacturer]
%StdMfg%=Standard,NTx86.6.2

[Standard.NTx86.6.2]
%NtrigComposite%=          HID_Composite,   USB\VID_1B96&PID_0022
%NtrigUSBHIDInterface1%=   HID_Ins1,         USB\VID_1B96&PID_0022&mi_00
;%NtrigHIDCompliant0%=      HID_Raw_Ins,     HID\VID_1B96&PID_0022&mi_00
%NtrigUSBHIDInterface2%=   HID_Ins2,         USB\VID_1B96&PID_0022&mi_01
;%NtrigHIDCompliant2%=      HID_Raw_Ins,     HID\VID_1B96&PID_0022&mi_01
%DeviceDesc%  =            USB_Install,     USB\VID_1B96&PID_0022&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_Ins1.NT]
Needs = USB_Install.NT

[HID_Ins1.NT.HW]
AddReg=Dev_AddReg
AddReg=Dev_GUID1_AddReg

[HID_Ins1.NT.Services]
Needs = USB_Install.NT.Services

;=====================================================================
[HID_Ins2.NT]
Needs = USB_Install.NT

[HID_Ins2.NT.HW]
AddReg=Dev_AddReg
AddReg=Dev_GUID2_AddReg

[HID_Ins2.NT.Services]
Needs = USB_Install.NT.Services

;=====================================================================
;[HID_Raw_Ins.NT]
;AddReg = HID_Raw_Ins_AddReg.NT

;[HID_Raw_Ins.NT.HW]
;AddReg = HID_Raw_Ins_AddReg.NT.HW

;[HID_Raw_Ins_AddReg.NT]

;[HID_Raw_Ins_AddReg.NT.HW]

;[HID_Raw_Ins.NT.Services]
;AddService = ,0x00000002

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

[USB_Install.Copy]

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

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

[USB_Install.NT.UMDFServices]
AddService=WinUSB,0x00000002,WinUSB_ServiceInstall

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

[WinUSB_Install]
KmdfLibraryVersion=1.11

[USB_Install.NT.HW]
AddReg=Dev_AddReg
AddReg=Dev_GUID0_AddReg

[Dev_GUID0_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{b35924d6-3e16-4a9e-9782-5524a4b79bac}"

[Dev_GUID1_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{706E65C3-C7F2-496d-9D1E-585AC090D498}"

[Dev_GUID2_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{CDC3A716-AEB5-4832-8C95-3A03E9183FD7}"

[Dev_AddReg]
HKR,,"DeviceIdleEnabled",0x00010001,1
HKR,,"DefaultIdleState",0x00010001,1
HKR,,"DefaultIdleTimeout",0x00010001,5000
HKR,,"UserSetDeviceIdleEnabled",0x00010001,1
HKR,,"SystemWakeEnabled",0x00010001,0
;HKR,,"SelectiveSuspendEnabled",0x00010001,0x0
HKR,WDF,"IdleInWorkingState",0x00010001,0x1
HKR,WDF,"WakeFromSleepState",0x00010001,0x0

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

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

;NtrigHIDCompliant0=     "N-trig DuoSense Control HID device Boot"
;NtrigHIDCompliant2=     "N-trig DuoSense Control HID device2 Boot"
NtrigComposite=         "N-trig DuoSense Composite Root interface Boot"
NtrigUSBHIDInterface1=  "N-trig DuoSense Control HID Interface Boot"
NtrigUSBHIDInterface2=  "N-trig DuoSense Control HID Interface2 Boot"
DeviceDesc=             "N-trig DuoSense Secondary Interface Boot"

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