; Copyright(C) 2008 Lexmark International, Inc.

[Version]
Signature="$WINDOWS NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%PROVIDER%
DriverVer=06/21/2006,6.1.7600.16385

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
"Lexmark"=Models,NTamd64

[Models.NTamd64]
%Model% = Scanner.ScanWithWIA.NT,USB\Vid_043D&Pid_00E8&MI_00


[Scanner.ScanWithWIA.NT]
Include=sti.inf
Needs=STI.USBSection, STI.MICRODRIVERSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x35
DeviceData=Scanner.DeviceData
AddReg=Scanner.WIAAddReg
AddReg=LCS.RootAddReg
AddReg=LCS.LocAddReg
CopyFiles=Scanner.CopyFiles,Scanner.ScanPath
ICMProfiles="sRGB Color Space Profile.icm"

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

[Scanner.DeviceData]
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
MicroDriver=%16422%\%Mfg%\%ModelCode%\lxa2WIA.DLL
Resolutions="75, 150, 200, 300, 400, 600"
RegKey=%ModelKey%"\Scan"
TwainDS="WIA-"%Model%

[Scanner.WIAAddReg]
HKR,,USDClass,,"{BB6CF8E2-1511-40bd-91BA-80D43C53064E}"
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E} ,,,%Model%
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E}\InProcServer32,,,%11%\WIAFBDRV.DLL
HKCR,CLSID\{BB6CF8E2-1511-40bd-91BA-80D43C53064E}\InProcServer32,ThreadingModel,,"Both"


[LCS.RootAddReg]
HKLM,SOFTWARE\LexmarkLaser\Lcs,,0x00000010,
[LCS.RootAddReg.Security]
"D:(A;CI;KA;;;WD)"

[LCS.LocAddReg]
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime,"DefaultModelId",0x00010001,0x043d0075
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime,"DefaultModelName",,"Enhanced TCP/IP"
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime,"BoundaryPid",0x00010001,0x00000098
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime\SupportedDevices,"Usb1BpdScanner",0x00010001,0x00000001
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime\SupportedDevices,"Usb1BpdPrinter",0x00010001,0x00000001
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Runtime\Vids,"vid1",,"<Vid>043d</Vid>"
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Usb1\Settings,"Usb1UseNonoverlappedWrites",0x00010001,0x00000001
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Usb1\Settings,"Usb1ReadSize",0x00010001,0x00000200
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Interpreters,"Objectstore",,"lxa2iobj.dll"
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Transports\Local,"USB1",,"lxa2usb1.dll"
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Settings,"DeleteStoreOnUninstall",0x00010001,0x00000000
HKLM,SOFTWARE\LexmarkLaser\Lcs\Local\lxa2\Settings,"ClientNeedsUnbufferedScanData",0x00010001,0x00000000
HKLM,SOFTWARE\LexmarkLaser\Lcs\Shared\PrinterStore,,0x00000010,
HKLM,SOFTWARE\LexmarkLaser\Lcs\Shared\ScannerStore,,0x00000010,

[DestinationDirs]
DefaultDestDir=10
Scanner.CopyFiles=16422,%Mfg%\%ModelCode%
Scanner.ScanPath=11

[Scanner.CopyFiles]
lxa2WIA.DLL

[Scanner.ScanPath]
lxa2usb1.DLL
lxa2comc.DLL
lxa2iobj.DLL

[SourceDisksFiles]
lxa2WIA.DLL=1
lxa2usb1.DLL=1
lxa2comc.DLL=1
lxa2iobj.DLL=1

[SourceDisksNames]
1 =  Windows CD,,,""

[Strings]
;Localizable
;Non-Localizable
Mfg="Lexmark"
PROVIDER="Lexmark International"
Model="Lexmark X642e"
ModelCode="X642e"
ModelKey="Lexmark\X642e"