; MaximLpt.inf ; Mark Underwood 06/30/2002 ; Copyright (C) 2002 Maxim Integrated Products ; ; based on... ; Wdm1checked.Inf - install information file ; Copyright © 1998,1999 Chris Cant, PHD Computer Consultants Ltd ; ; Caveat: Win98 section names must be 28 characters or shorter. ; Another caveat: Win98 driver executable must be an 8.3 filename. ; ; Revision history: ; ; 06/29/2002 Enhancement to support additional parallel ports. ; Added IOCTL_MAXIMLPTXA_PEEK, IOCTL_MAXIMLPTXA_POKE. ; Replace "checked build" with "free build" (remove debug info). ; ; 07/21/2001 Initial release. ; ; ; [Version] section: ; Signature="$Chicago$" ; Provider="company name" ; [Version] Signature="$Chicago$" Class=Unknown Provider=%MAXIM% DriverVer=06/29/2002,1.2.0.1 ; ; [Manufacturer] section: ; "company name" = devicelist section name ; [Manufacturer] %MAXIM% = DeviceList ; ; [Manufacturer][DeviceList] section: ; "device description" = driverinstall section name, hardware_id ; [DeviceList] ;;;;;;;;;;;;"Bit-Banging Parallel Port"=DriverInstall, ;;;;;;;;;;;;"Maxim High-Speed USB Platform"=DriverInstallMPC850, USB\VID_0B6A&PID_0850 ;;;;;;;;;;;;"Maxim Low-Cost USB Platoform"=DriverInstallAN2131QN, USB\VID_0B6A&PID_2131 ;;;;;;;;;;;;"Maxim USB Platform"=DriverInstallUSB, USB\VID_0B6A&PID_4556 ; ; Hardware id of "*wdmBook\Wdm1" means unknown device ; ;;;;;;;;;;;;%MaximLpt%=MaximLpt.Install, *wdmBook\Wdm1 %MaximLpt%=MaximLpt.Install, *maxim\MaximLpt ; ; [DestinationDirs] section: ; copyfiles section name = code number, relative path ; code 10 means c:\windows ; code 12 means (win2000) System32/drivers or (win98) System32/ioSubsys ; [DestinationDirs] MaximLpt.Files.Driver=10,System32\Drivers MaximLpt.Files.Driver.NTx86=10,System32\Drivers ; ; [SourceDisksNames] section: ; disknumber = diskname, unknown_second_argument, unknown_third_arg, unknown_fourth_arg ; ; disk numbers are referenced by [SourceDisksFiles] section ; [SourceDisksNames] 1="MaximDisk1",,, ; ; [SourceDisksFiles] section: ; [SourceDisksFiles.x86] section: ; filename = disknumber, relativepath ; ; Win98 driver executable must be an 8.3 filename. ; ; Question: where is this used? ; This seems to point to a non-existent subdirectory. MKU 5/27/2001 ; ; Free vs Checked INF difference: ; obj\i386\free vs obj\i386\checked [SourceDisksFiles] ; relative path for checked version, in build directory ;MaximLpt.sys=1,obj\i386\checked ; ; relative path for distribution release, in same dir as inf MaximLpt.sys=1 ; ; Free vs Checked INF difference: ; objfre vs objchk [SourceDisksFiles.x86] ;;;MaximLpt.sys=1,objchk\i386 MaximLpt.sys=1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Windows 98 ; ; [Manufacturer][DeviceList][DriverInstall] section: ; AddReg = AddReg section name ; CopyFiles = CopyFiles section name ; [MaximLpt.Install] CopyFiles=MaximLpt.Files.Driver AddReg=MaximLpt.AddReg ; ; [Manufacturer][DeviceList][DriverInstall][AddReg] section: ; [MaximLpt.AddReg] HKR,,DevLoader,,*ntkern ; This is the actual driver filename? -- MKU 05/27/2001 HKR,,NTMPDriver,,MaximLpt.sys ; ; [Manufacturer][DeviceList][DriverInstall][CopyFiles] section: ; [MaximLpt.Files.Driver] ; This is the actual driver filename? -- MKU 05/27/2001 MaximLpt.sys ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Windows 2000 ; ; [Manufacturer][DeviceList][DriverInstall.NTx86] section: ; CopyFiles = CopyFiles.NTx86 section name ; [MaximLpt.Install.NTx86] CopyFiles=MaximLpt.Files.Driver.NTx86 ; ; [Manufacturer][DeviceList][DriverInstall.NTx86][CopyFiles.NTx86] section: ; [MaximLpt.Files.Driver.NTx86] ; This is the actual driver filename? -- MKU 05/27/2001 MaximLpt.sys,,,%COPYFLG_NOSKIP% [MaximLpt.Install.NTx86.Services] AddService = MaximLpt, %SPSVCINST_ASSOCSERVICE%, MaximLpt.Service [MaximLpt.Service] DisplayName = %MaximLpt.ServiceName% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_DEMAND_START% ErrorControl = %SERVICE_ERROR_NORMAL% ; This is the actual driver filename? -- MKU 05/27/2001 ServiceBinary = %10%\System32\Drivers\MaximLpt.sys ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Strings ; ; [Strings] section: ; alias = "replacement text" ; ; Throughout the INF file, any occurrence of %alias% is replaced. ; [Strings] MAXIM="Maxim Integrated Products" ;;;;;WDMBook="WDM Book" MaximLpt="MaximLpt Parallel Port Bit-Banging Driver" MaximLpt.ServiceName="MaximLpt Parallel Port Bit-Banging Driver" SPSVCINST_ASSOCSERVICE=0x00000002 ; Driver service is associated with device being installed COPYFLG_NOSKIP=2 ; Do not allow user to skip file SERVICE_KERNEL_DRIVER=1 SERVICE_AUTO_START=2 SERVICE_DEMAND_START=3 SERVICE_ERROR_NORMAL=1