Source code of Windows XP (NT5)
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.

42 lines
1.6 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>Disk</TITLE>
  6. <META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
  7. </HEAD>
  8. <BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
  9. <FONT FACE="Verdana"><H2><A NAME="disk">Disk</A> </H2>
  10. <H3>Summary</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  11. The Disk sample is used with Classpnp.sys as disk driver. The sample supports Plug and Play, Power Management, WMI, and failure prediction (S.M.A.R.T.), and it is 64-bit compliant.
  12. <H3>Building the Sample</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  13. To build the sample, run the <b>build</B> command. Once built, this sample will create one binary: Disk.sys.
  14. <H3>CODE TOUR</H3>
  15. <H4>File Manifest</H4>
  16. </FONT><U><PRE>File&#9;&#9; Description
  17. </U>
  18. Data.c&#9; List of workarounds for some drives (no code)
  19. Disk.c&#9; Main code base
  20. Disk.h&#9; Private header files
  21. Disk.rc&#9; Resource file
  22. Diskwmi.c&#9; S.M.A.R.T. WMI implementation
  23. Drivesup.c&#9; No longer used
  24. Drivesup.h&#9; No longer used
  25. Enum.c&#9; Enumeration routines for disk drives
  26. Makefile&#9; Makefile
  27. Pnp.c&#9; Start/add/pnp code
  28. Sources&#9; Sources
  29. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  30. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  31. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  32. <P></TD>
  33. </TR>
  34. </TABLE>
  35. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  36. </HTML>