;
;Copyright (c) N-Trig.  All rights reserved.
;
; NtrigDigitizer.inf
;

[Version]
Signature="$Windows NT$"
Class=Digitizers
ClassGuid={40E97A09-035B-4418-8D9B-06FD8FF357C7}
Provider=%NTRIG%
DriverVer=06/30/2009,1.26.8.49
CatalogFile= NtrigDigi86.cat

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

[ClassInstall32]
Addreg=MyDeviceClassReg

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

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

[Manufacturer]
%ProviderName% = MyDevice_WinUSB,NTx86

[MyDevice_WinUSB.NTx86]
%DeviceDesc% =USB_Install, USB\Vid_1b96&Pid_0001&mi_02

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

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

[USB_Install.Copy]
NtrigDigitizerUSBLowerFilter.sys

[USB_Install.Services]
Include=winusb.inf
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.Wdf]
KmdfService=WINUSB, WinUsb_Install
KmdfService = NtrigDigitizerUSBLowerFilter,  NtrigDigitizerUSBLowerFilter_wdfsect

[WinUSB_Install]
KmdfLibraryVersion=1.5

[NtrigDigitizerUSBLowerFilter_wdfsect]
KmdfLibraryVersion = 1.5

[USB_Install.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,,"UserSetDeviceIdleEnabled",0x00010001,1
HKR,,"SystemWakeEnabled",0x00010001,0
HKR,,"SelectiveSuspendEnabled",0x00010001,0x1
HKR,WDF,"IdleInWorkingState",0x00010001,0x1
HKR,WDF,"WakeFromSleepState",0x00010001,0x0

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01005.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01005.dll

[DestinationDirs]
CoInstallers_CopyFiles=11
USB_Install.Copy=12

; ================= Source Media Section =====================

[SourceDisksNames]
1 = %DISK_NAME%

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll=1
WdfCoInstaller01005.dll=1
NtrigDigitizerUSBLowerFilter.sys=1

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

[Strings]
ProviderName="N-trig Innovative Technologies"
NTRIG="N-trig Innovative Technologies"
DeviceDesc="N-Trig_DIGITIZER"
WinUSB_SvcDesc="N-Trig_DIGITIZER"
DISK_NAME="NTRIG Install Disk"
ClassName="Digitizers"
filter.SvcDesc = "N-Trig_DIGITIZER_LowerFilter Filter Driver"

