[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%Company%
CatalogFile=M350Utility.cat
DriverVer=12/12/2023,5.7.0.0

[ControlFlags]
; Remove comment from this line if all devices are PnP.
ExcludeFromSelect=*

[Manufacturer]
%Company%=Models,ntamd64,ntia64,ntarm64

[Models]
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&MI_02

[Models.ntamd64]
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&MI_02

[Models.ntia64]
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&MI_02

[Models.ntarm64]
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_1009&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&REV_0001&MI_02
%ProductDisplay%=Scanner.USB,USB\VID_3197&PID_100e&MI_02

[Scanner.USB]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x0
;Events=Scanner.USB.Events
DeviceData=Scanner.USB.DeviceData
AddReg=Scanner.USB.AddReg
ICMProfiles="sRGB Color Space Profile.icm"

[Scanner.USB.DeviceData]
TwainDS=%ProductDisplay%
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}

[Scanner.USB.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Scanner.USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,DRIVERPATH,,%10%\TWAIN_32\%Company%\%Product%\M350.dll
HKR,,QLINKPATH,,%16422%\M350QLINK\QLINK.exe
HKR,,MFP,,1
HKR,,USDClass,,"{BD381F20-57B3-11D2-A7A1-00A02491DF4E}"
HKCR,CLSID\{BD381F20-57B3-11D2-A7A1-00A02491DF4E},,,"%Company% Scanner"
HKCR,CLSID\{BD381F20-57B3-11D2-A7A1-00A02491DF4E}\InProcServer32,,,%11%\M350.cpl
HKCR,CLSID\{BD381F20-57B3-11D2-A7A1-00A02491DF4E}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\%Product%"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\%Company%\%Product%\AM3100.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\%Company%\%Product%"\"
HKLM,%reg_TWAIN_path%,"DEBUGLEVEL",0x00010001,0

[Strings]
Company="Katusha"
Product="M350"
ProductDisplay="M350 Series Utility"
reg_TWAIN_path = "Software\AjaxData\TWAIN"

