[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%USB5601_Provider%
DriverVer=12/08/2015,6.1.7600.16385
CatalogFile=USB5601.cat

[SourceDisksNames]
1=%USB5601_Install%,,,

[SourceDisksFiles]
USB5601.sys = 1

[DestinationDirs]
USB5601.Files.Ext = 10,System32\Drivers

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%USB5601_Provider%=Device,NT,NTx86,NTamd64

;for all platforms
[Device.NT]
%VID_04B4&PID_5601.DeviceDesc%=USB5601, USB\VID_04B4&PID_5601

;for x86 platforms
[Device.NTx86]
%VID_04B4&PID_5601.DeviceDesc%=USB5601, USB\VID_04B4&PID_5601

;for x64 platforms
[Device.NTamd64]
%VID_04B4&PID_5601.DeviceDesc%=USB5601, USB\VID_04B4&PID_5601

[USB5601.NT]
CopyFiles=USB5601.Files.Ext
AddReg=USB5601.AddReg

[USB5601.NT.HW]
AddReg=USB5601.AddReg.Guid

[USB5601.NT.Services]
Addservice = USB5601,2,USB5601.AddService

[USB5601.NTx86]
CopyFiles=USB5601.Files.Ext
AddReg=USB5601.AddReg

[USB5601.NTx86.HW]
AddReg=USB5601.AddReg.Guid

[USB5601.NTx86.Services]
Addservice = USB5601,2,USB5601.AddService

[USB5601.NTamd64]
CopyFiles=USB5601.Files.Ext
AddReg=USB5601.AddReg

[USB5601.NTamd64.HW]
AddReg=USB5601.AddReg.Guid

[USB5601.NTamd64.Services]
Addservice = USB5601,2,USB5601.AddService

[USB5601.AddReg]
; Deprecating - do not use in new apps to identify a USB5601 driver
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USB5601.sys
; You may optionally include a check for DriverBase in your application to check for a USB5601 driver
HKR,,DriverBase,,USB5601.sys
HKR,"Parameters","MaximumTransferSize",0x10001,4096
HKR,"Parameters","DebugLevel",0x10001,2
HKR,,FriendlyName,,%USB5601_Description%

[USB5601.AddService]
DisplayName    = %USB5601_Description%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\USB5601.sys
AddReg         = USB5601.AddReg
LoadOrderGroup = Base

[USB5601.Files.Ext]
USB5601.sys

[USB5601.AddReg.Guid]
HKR,,DriverGUID,,%USB5601.GUID%
;HKR,,DriverPowerPolicySetup,,%ENABLE_DRIVER_POWER_POLICY%

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

[DestinationDirs]
CoInstaller_CopyFiles = 11

[USB5601.NTamd64.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[USB5601.NTx86.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

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

[USB5601.NTamd64.Wdf]
KmdfService = USB5601, USB5601_wdfsect

[USB5601.NTx86.Wdf]
KmdfService = USB5601, USB5601_wdfsect

[USB5601_wdfsect]
KmdfLibraryVersion = 1.9

[Strings]
ClassName = "Art USB Devices"
USB5601_Provider    = "ART"
USB5601_Company     = "ART"
USB5601_Description = "USB5601 Device"
USB5601_DisplayName = "USB5601 Driver"
USB5601_Install     = "USB5601 Driver Installation Disk"
VID_04B4&PID_5601.DeviceDesc="Art USB5601 8CH 16Bit AI & 8CH DI DO Board"
USB5601.GUID="{AE18AA60-7F6A-11d4-97DD-000102295601}"
;ENABLE_DRIVER_POWER_POLICY="1"
USB5601_Unused      = "."
