PARPORT

[This is preliminary documentation and subject to change.]

SUMMARY

This directory contains the source code for the product driver parport.sys. This sample can be used to aid in debugging client drivers and device firmware for parallel port connected devices.

BUILDING THE SAMPLE

To build the sample application, type build in the Src\Kernel\Parport directory. A successful build produces Parport.sys.

INSTALLATION

The product driver parport.sys is installed via %windir%\inf\msports.inf and the ports class installer %windir%\system32\msports.dll.

CODE TOUR

File Manifest

File			Description
addDevice.c		AddDevice routine
becp.c			IEEE 1284.3 Bounded ECP Mode
byte.c			IEEE 1284 Byte (8-bit reverse only) Mode
chipMode.c		Detect/Query/Set host chipset modes
daisyChain.c		Detect/Init/Select/Deselect IEEE 1284.3 Daisy Chain devices
dataLink.c		Implement IEEE 1284.3 DataLink used by IEEE 1284.4 Transport
debug.c			Debug code
debug.h			Debug defines
dispatchRedirect.c	Redirect Dispatch calls based on DeviceObject type (FDO,PDO)
driverEntry.c		DriverEntry routine
ecp.c			IEEE 1284 ECP Mode (generic)
epp.c			IEEE 1284 EPP Mode (generic)
errlog.c		Error Logging
fdoCleanup.c		FDO Cleanup
fdoClose.c		FDO Close
fdoCreate.c		FDO Create
fdoIoctl.c		FDO I/O Control
fdoPnp.c		FDO Plug and Play
fdoPower.c		FDO Power Management
fdoThread.c		FDO "polling for printers" thread
fdoWmi.c		FDO WMI
funcdecl.h		Function Declarations
hwecp.c			Hardware ECP Mode - Hardware based signaling
hwepp.c			Hardware EPP Mode - Hardware based signaling
ieee1284.c		IEEE Negotiate/Terminate and redirection
irpQueue.c		IRP Queue
legacyZip.c		Iomega Legacy (pre-IEEE 1284.3) VP0 Zip-100 drive support
makefile		Indirect to the real makefile
natSemiChipset.c	Probe for National Semiconductor SuperI/O Chipsets that don't support generic EPP
nibble.c		IEEE 1284 NIBBLE (4-bit reverse only) Mode
parlog.mc		Error Logging
parport.c		Driver Globals
parport.h		Driver Structures, Defines, and Enums
parport.htm		The documentation for these samples (this file)
parport.rc		Error Logging
pch.h			Precompiled Header to speed up compiles
pdoCleanup.c		PDO Cleanup
pdoClose.c		PDO Close
pdoCreate.c		PDO Create
pdoExports.c		Functions exported by parport PDOs to client FDO drivers such as Iomega Zip drivers
pdoIoctl.c		PDO I/O Control
pdoPnp.c		PDO Plug and Play
pdoPower.c		PDO Power Management
pdoQuerySetInfo.c	PDO Query and Set info
pnpUtils.c		Utility functions for FDO and PDO Plug and Play
queueClass.c		IRP Queue
queueClass.h		IRP Queue header
readWrite.c		Generic Read Write handling - forwards requests to appropriate mode specific code
registry.c		Registry Access
shuttle.c		Shuttle (SCM Microsystems) IEEE 1284.3 draft specification device enumeration, select, and deselect
shuttle.h		Shuttle Header
sources			Dependency information for compiling 
spp.c			Standard Parallel Port Mode (AKA Centronics or Compatibility Mode) with relaxed timings
sppieee.c		SPP Mode with IEEE 1284 compliant timings
swecp.c			Software ECP - Software Emulated Signaling
swepp.c			Software EPP - Software Emulated Signaling
test.c			Test code
thread.c		PDO Worker thread
unload.c		Driver Unload
utils.c			Utility Functions
utils.h			Utility Function Header

Top of page

© 2001 Microsoft Corporation