Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
4.1 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-
  4. 1252">
  5. <META NAME="Generator" CONTENT="Microsoft FrontPage 5.0">
  6. <TITLE>MCALOG</TITLE>
  7. </HEAD>
  8. <BODY LINK="#0000ff">
  9. <FONT FACE="Verdana" SIZE=5><H2>PARPORT</H2>
  10. </FONT><FONT FACE="Verdana" SIZE=2>
  11. <P><span style="color:#FF0000;font-size:10pt;font-family:Arial">[This is preliminary
  12. documentation and subject to change.]</span></P>
  13. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  14. This directory contains the source code for the product driver parport.sys. This
  15. sample can be used to aid in debugging client drivers and device firmware for
  16. parallel port connected devices.<H3>BUILDING THE SAMPLE</H3>
  17. <p>
  18. To build the sample application, type <B>build</B> in the Src\Kernel\Parport directory. A successful build produces
  19. Parport.sys.
  20. <H3>INSTALLATION</H3>
  21. <p>The product driver parport.sys is installed via %windir%\inf\msports.inf and
  22. the ports class installer %windir%\system32\msports.dll.</p>
  23. <H3>CODE TOUR</H3>
  24. <H4>File Manifest</H4>
  25. </FONT><U><PRE>File&#9;&#9; Description
  26. </U>addDevice.c AddDevice routine
  27. becp.c IEEE 1284.3 Bounded ECP Mode
  28. byte.c IEEE 1284 Byte (8-bit reverse only) Mode
  29. chipMode.c Detect/Query/Set host chipset modes
  30. daisyChain.c Detect/Init/Select/Deselect IEEE 1284.3 Daisy Chain devices
  31. dataLink.c Implement IEEE 1284.3 DataLink used by IEEE 1284.4 Transport
  32. debug.c Debug code
  33. debug.h Debug defines
  34. dispatchRedirect.c Redirect Dispatch calls based on DeviceObject type (FDO,PDO)
  35. driverEntry.c DriverEntry routine
  36. ecp.c IEEE 1284 ECP Mode (generic)
  37. epp.c IEEE 1284 EPP Mode (generic)
  38. errlog.c Error Logging
  39. fdoCleanup.c FDO Cleanup
  40. fdoClose.c FDO Close
  41. fdoCreate.c FDO Create
  42. fdoIoctl.c FDO I/O Control
  43. fdoPnp.c FDO Plug and Play
  44. fdoPower.c FDO Power Management
  45. fdoThread.c FDO &quot;polling for printers&quot; thread
  46. fdoWmi.c FDO WMI
  47. funcdecl.h Function Declarations
  48. hwecp.c Hardware ECP Mode - Hardware based signaling
  49. hwepp.c Hardware EPP Mode - Hardware based signaling
  50. ieee1284.c IEEE Negotiate/Terminate and redirection
  51. irpQueue.c IRP Queue
  52. legacyZip.c Iomega Legacy (pre-IEEE 1284.3) VP0 Zip-100 drive support
  53. makefile Indirect to the real makefile
  54. natSemiChipset.c Probe for National Semiconductor SuperI/O Chipsets that don't support generic EPP
  55. nibble.c IEEE 1284 NIBBLE (4-bit reverse only) Mode
  56. parlog.mc Error Logging
  57. parport.c Driver Globals
  58. parport.h Driver Structures, Defines, and Enums
  59. parport.htm The documentation for these samples (this file)
  60. parport.rc Error Logging
  61. pch.h Precompiled Header to speed up compiles
  62. pdoCleanup.c PDO Cleanup
  63. pdoClose.c PDO Close
  64. pdoCreate.c PDO Create
  65. pdoExports.c Functions exported by parport PDOs to client FDO drivers such as Iomega Zip drivers
  66. pdoIoctl.c PDO I/O Control
  67. pdoPnp.c PDO Plug and Play
  68. pdoPower.c PDO Power Management
  69. pdoQuerySetInfo.c PDO Query and Set info
  70. pnpUtils.c Utility functions for FDO and PDO Plug and Play
  71. queueClass.c IRP Queue
  72. queueClass.h IRP Queue header
  73. readWrite.c Generic Read Write handling - forwards requests to appropriate mode specific code
  74. registry.c Registry Access
  75. shuttle.c Shuttle (SCM Microsystems) IEEE 1284.3 draft specification device enumeration, select, and deselect
  76. shuttle.h Shuttle Header
  77. sources Dependency information for compiling
  78. spp.c Standard Parallel Port Mode (AKA Centronics or Compatibility Mode) with relaxed timings
  79. sppieee.c SPP Mode with IEEE 1284 compliant timings
  80. swecp.c Software ECP - Software Emulated Signaling
  81. swepp.c Software EPP - Software Emulated Signaling
  82. test.c Test code
  83. thread.c PDO Worker thread
  84. unload.c Driver Unload
  85. utils.c Utility Functions
  86. utils.h Utility Function Header
  87. <PRE><P>
  88. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  89. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  90. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  91. <P></TD>
  92. </TR>
  93. </TABLE>
  94. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 2001 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></pre></BODY>
  95. </HTML>