104 lines
4 KiB
HTML
104 lines
4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
|
|
1252">
|
|
<META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
|
|
<TITLE>MCALOG</TITLE>
|
|
</HEAD>
|
|
<BODY LINK="#0000ff">
|
|
|
|
<FONT FACE="Verdana" SIZE=5><H2>PARPORT</H2>
|
|
</FONT><FONT FACE="Verdana" SIZE=2>
|
|
<P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary
|
|
documentation and subject to change.]</span></P>
|
|
|
|
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
|
|
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.<H3>BUILDING THE SAMPLE</H3>
|
|
<p>
|
|
To build the sample application, type <B>build</B> in the Src\Kernel\Parport directory. A successful build produces
|
|
Parport.sys.
|
|
|
|
|
|
<H3>INSTALLATION</H3>
|
|
|
|
|
|
<p>The product driver parport.sys is installed via %windir%\inf\msports.inf and
|
|
the ports class installer %windir%\system32\msports.dll.</p>
|
|
|
|
|
|
<H3>CODE TOUR</H3>
|
|
<H4>File Manifest</H4>
|
|
</FONT><U><PRE>File		 Description
|
|
</U>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
|
|
<PRE><P>
|
|
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
|
|
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
|
|
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
|
|
<P></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<FONT FACE="MS Sans Serif" SIZE=1><P>© 2001 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></pre></BODY>
|
|
</HTML> |