[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Company%
CatalogFile=GC250DN.cat
DriverVer=03/21/2023,1.0.0.0

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

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

[Models]
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&REV_0001&MI_00
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&MI_00

[Models.ntamd64]
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&REV_0001&MI_00
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&MI_00

[Models.ntia64]
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&REV_0001&MI_00
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&MI_00

[Models.ntarm64]
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&REV_0001&MI_00
%Product%=Scanner.USB,USB\VID_17EF&PID_548A&MI_00

[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=%Product%
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%\GC250DN.dll
HKR,,QLINKPATH,,%16422%\GC250DNQLINK\QLINK.exe
HKR,,MFP,,1
HKR,,USDClass,,"{D68317E9-881C-4B15-8D50-33D76FFCB0D9}"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCB0D9},,,"%Company% Scanner"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCB0D9}\InProcServer32,,,%11%\GC250DN.cpl
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCB0D9}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%16419%\%Product%"\"
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\%Company%\%Product%"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\%Company%\%Product%"\scanner.ini"
HKLM,%reg_TWAIN_path%,"DEBUGLEVEL",0x00010001,0

[Strings]
Company="Grandprinter"
Product="GC250DN"
reg_TWAIN_path = "Software\AjaxData\TWAIN"

