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.

53 lines
2.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 Word 97">
  6. <TITLE>Flpydisk</TITLE>
  7. </HEAD>
  8. <BODY LINK="#0000ff">
  9. <FONT FACE="Verdana" SIZE=5><H2>Flpydisk</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. The
  15. flpydisk sample is a floppy driver that resides in the directory \\Ntddk\Src\Storage\Fdc\Flpydsk.
  16. It is similar to a class driver in that it
  17. sits a level above the floppy disk controller in the driver stack, and brokers
  18. communication between the application
  19. level and the low-level driver. The
  20. floppy driver takes commands from the application and then calls routines in the controller
  21. which will in turn perform the actual interaction with the device. The sample compiles in
  22. 64-bit, but has not been tested in this environment. It is compatible with x86 and Alpha platforms.<P>
  23. Note that the floppy driver could be replaced by a floppy
  24. tape driver and still interact with the lower level Fdc. The sample works on NEC PD756 and Intel 82077 drives.
  25. <H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana"
  26. SIZE=2><P>
  27. Type <B>build</B> in the \\Ntddk\Src\Storage\Fdc\Flpydsk directory. A successful build produces Flpydsk.sys.
  28. <H3>CODE TOUR</H3>
  29. <H4>File Manifest</H4>
  30. </FONT><U><PRE>File&#9;&#9;Description
  31. </U>
  32. Flo_data.h&#9;Header file for floppy disk driver
  33. Floppy.c&#9;Floppy diskette driver
  34. Floppy.rc&#9;Resource file
  35. Sources&#9; Sources for build
  36. Flpydisk.inf&#9;INF file floppy driver
  37. <P>
  38. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  39. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  40. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  41. <P></TD>
  42. </TR>
  43. </TABLE>
  44. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  45. </HTML>