; lptpckit.inf
;
; Installation file (.inf) for the Driver for PcKit on ISA bus device.
;
; (c) Copyright 2003 SofCon
;

[Version]
Signature="$Windows NT$"
Provider=%sofcon%
Class=SofConDevices
ClassGuid={15AA61E9-2EF4-40ad-8ABA-348F3ED5F747}
CatalogFile=lptpckit.cat
DriverVer=25/7/2003,1.13.0.0

[DestinationDirs]
DefaultDestDir   = 12,sofcon

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

[ClassInstall32]
Addreg=LptPcKit.AddClassReg     

[LptPcKit.AddClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
HKR,,EnumPropPages32,,"drivers\sofcon\PcKitPS.dll,EnumPropPages"

; ================= Device Install section =====================

[Manufacturer]
%sofcon%   = LptPcKitKrn

[SourceDisksFiles]
LptPcKit.sys=1
LptPcKit.dll=1
PcKitPS.dll=1
halpckit.dll=1


[SourceDisksNames]
1 = %DiskId1%,%SRCDIR%


[LptPcKitKrn]
; DisplayName            Section           DeviceId
; -----------       	 -------           --------
%sofcon.DeviceDesc0% = LptPcKit_Inst,root\sofcondevices1

[LptPcKit_Inst.NT]
AddReg = LptPcKit_Inst_AddReg
CopyFiles = LptPcKit_Inst_CopyFiles
LogConfig = LptPcKit.LC
DriverVer=25/07/2003,1.13.0.0

[LptPcKit_Inst_AddReg]
HKLM,"System\CurrentControlSet\Control\VirtualDeviceDrivers","VDD",0x00010008, "%WINDIR%\System32\drivers\sofcon\lptpckit.dll"


[LptPcKit_Inst_CopyFiles]
lptpckit.sys
lptpckit.dll
PckitPS.dll
halpckit.dll


[LptPcKit_Inst.NT.HW]
AddReg=LptPcKit_Hw_AddReg

[LptPcKit_Hw_AddReg]
HKR, IOPort,    "Count",  0x00010001, 0x2
HKR, IOPort\0,  "Base",   0x00010001, 0x300
HKR, IOPort\0,  "Length", 0x00010001, 0x60
HKR, IOPort\0,  "Dos",    0x00010001, 1
HKR, IOPort\1,  "Base",   0x00010001, 0x220
HKR, IOPort\1,  "Length", 0x00010001, 0x40
HKR, IOPort\1,  "Dos",    0x00010001, 1
HKR, Irq,	"Count",  0x00010001, 0
HKR, Irq\0,	"Number", 0x00010001, 0x5
HKR, Irq\0,	"Dos",	  0x00010001, 1
HKR, Irq\1,	"Number", 0x00010001, 0x7
HKR, Irq\1,	"Dos",	  0x00010001, 1
HKR, Com,	"Count",  0x00010001, 0
HKR, Com\0,	"Name",   0x00000000, COM3
HKR, Com\0,	"Base",	  0x00010001, 0x208
HKR, Com\0,	"Length", 0x00010001, 8
HKR, Com\0,	"Irq",	  0x00010001, 5
HKR, Com\0,	"Dos",	  0x00010001, 1
HKR, Com\1,	"Name",   0x00000000, COM4
HKR, Com\1,	"Base",	  0x00010001, 0x210
HKR, Com\1,	"Length", 0x00010001, 8
HKR, Com\1,	"Irq",	  0x00010001, 7
HKR, Com\1,	"Dos",	  0x00010001, 1
HKR, BlackPort,	  "Count",  0x00010001, 0
HKR, BlackPort\0, "Base",   0x00010001, 0x378
HKR, BlackPort\0, "Length", 0x00010001, 0xF
HKR, BlackPort\0, "Dos",    0x00010001, 1
HKR,,"DisableVdd",	0x00010001, 0
HKR,,"IOPortVdd",	0x00020000, "%WINDIR%\System32\drivers\sofcon\Lptpckit.dll"

[LptPcKit_Inst.NT.Services]
AddService = lptpckit, 0x00000002 , LptPcKit_Service, LptPcKit_EventLogService

[LptPcKit.LC]
ConfigPriority	= DESIRED
IOConfig        = 0000-FFFF(3ff::)   ; 10 bit decode


[LptPcKit_Service]
AddReg = LptPcKit_Service_AddReg
DisplayName    = %sofcon.DeviceDesc0%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\sofcon\lptpckit.sys

[LptPcKit_Service_AddReg]
HKR,,EnableWriteLog, 0x00010001,1

[LptPcKit_EventLogService]
AddReg = LptPcKit_EventLog_AddReg

[LptPcKit_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%11%\IoLogMsg.dll;%12%\sofcon\lptpckit.sys"
HKR,,TypesSupported,0x00010001,7

[Strings]
sofcon.DeviceDesc0 = "Driver for PcKit on LPT"
DiskId1 = "HOME"
ClassName = "SofCon devices"
sofcon = "SofCon s.r.o."
