📄 disk.htm
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Disk</TITLE>
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
<FONT FACE="Verdana"><H2><A NAME="disk">Disk</A> </H2>
<H3>Summary</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
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.
<H3>Building the Sample</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
To build the sample, run the <b>build</B> command. Once built, this sample will create one binary: Disk.sys.
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File		 Description
</U>
Data.c	 List of workarounds for some drives (no code)
Disk.c	 Main code base
Disk.h	 Private header files
Disk.rc	 Resource file
Diskwmi.c	 S.M.A.R.T. WMI implementation
Drivesup.c	 No longer used
Drivesup.h	 No longer used
Enum.c	 Enumeration routines for disk drives
Makefile	 Makefile
Pnp.c	 Start/add/pnp code
Sources	 Sources
</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>© 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -