diff options
| author | Dave Wilson <[email protected]> | 2015-03-17 19:50:07 -0700 |
|---|---|---|
| committer | Dave Wilson <[email protected]> | 2015-03-17 19:50:07 -0700 |
| commit | 97cf5197cf5b882b2c689d8dc2b555f2edf8f418 (patch) | |
| tree | 46f3701832d70b420eb0fc0eb93261f9da45db3f /storage/class/classpnp/src/classpnp.htm | |
| parent | ef1905bf1e8825bb31120dfb27e0daf3154d859a (diff) | |
Initial publish
Diffstat (limited to 'storage/class/classpnp/src/classpnp.htm')
| -rw-r--r-- | storage/class/classpnp/src/classpnp.htm | 273 |
1 files changed, 273 insertions, 0 deletions
diff --git a/storage/class/classpnp/src/classpnp.htm b/storage/class/classpnp/src/classpnp.htm new file mode 100644 index 00000000..4c2b159e --- /dev/null +++ b/storage/class/classpnp/src/classpnp.htm @@ -0,0 +1,273 @@ +<html xmlns:v="urn:schemas-microsoft-com:vml" +xmlns:o="urn:schemas-microsoft-com:office:office" +xmlns:w="urn:schemas-microsoft-com:office:word" +xmlns="http://www.w3.org/TR/REC-html40"> + +<head> +<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> +<meta name=ProgId content=Word.Document> +<meta name=Generator content="Microsoft Word 11"> +<meta name=Originator content="Microsoft Word 11"> +<link rel=File-List href="classpnp_files/filelist.xml"> +<title>ClassPnP</title> +<!--[if gte mso 9]><xml> + <w:WordDocument> + <w:Zoom>BestFit</w:Zoom> + <w:SpellingState>Clean</w:SpellingState> + <w:GrammarState>Clean</w:GrammarState> + <w:ValidateAgainstSchemas/> + <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> + <w:IgnoreMixedContent>false</w:IgnoreMixedContent> + <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> + <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> + </w:WordDocument> +</xml><![endif]--><!--[if gte mso 9]><xml> + <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> + </w:LatentStyles> +</xml><![endif]--> +<style> +<!-- + /* Font Definitions */ + @font-face + {font-family:"MS Mincho"; + panose-1:2 2 6 9 4 2 5 8 3 4; + mso-font-alt:"\FF2D\FF33 \660E\671D"; + mso-font-charset:128; + mso-generic-font-family:roman; + mso-font-format:other; + mso-font-pitch:fixed; + mso-font-signature:1 134676480 16 0 131072 0;} +@font-face + {font-family:Verdana; + panose-1:2 11 6 4 3 5 4 4 2 4; + mso-font-alt:Tahoma; + mso-font-charset:0; + mso-generic-font-family:swiss; + mso-font-pitch:variable; + mso-font-signature:536871559 0 0 0 415 0;} +@font-face + {font-family:"MS Sans Serif"; + panose-1:0 0 0 0 0 0 0 0 0 0; + mso-font-alt:"Times New Roman"; + mso-font-charset:0; + mso-generic-font-family:roman; + mso-font-format:other; + mso-font-pitch:auto; + mso-font-signature:0 0 0 0 0 0;} +@font-face + {font-family:"\@MS Mincho"; + mso-font-charset:128; + mso-generic-font-family:modern; + mso-font-pitch:fixed; + mso-font-signature:-1610612033 1757936891 16 0 131231 0;} + /* Style Definitions */ + p.MsoNormal, li.MsoNormal, div.MsoNormal + {mso-style-parent:""; + margin:0in; + margin-bottom:.0001pt; + mso-pagination:widow-orphan; + font-size:12.0pt; + font-family:"Times New Roman"; + mso-fareast-font-family:"MS Mincho"; + color:black;} +h2 + {mso-margin-top-alt:auto; + margin-right:0in; + mso-margin-bottom-alt:auto; + margin-left:0in; + mso-pagination:widow-orphan; + mso-outline-level:2; + font-size:18.0pt; + font-family:"Times New Roman"; + mso-fareast-font-family:"Times New Roman"; + color:black; + font-weight:bold;} +h3 + {mso-margin-top-alt:auto; + margin-right:0in; + mso-margin-bottom-alt:auto; + margin-left:0in; + mso-pagination:widow-orphan; + mso-outline-level:3; + font-size:13.5pt; + font-family:"Times New Roman"; + mso-fareast-font-family:"Times New Roman"; + color:black; + font-weight:bold;} +h4 + {mso-margin-top-alt:auto; + margin-right:0in; + mso-margin-bottom-alt:auto; + margin-left:0in; + mso-pagination:widow-orphan; + mso-outline-level:4; + font-size:12.0pt; + font-family:"Times New Roman"; + mso-fareast-font-family:"Times New Roman"; + color:black; + font-weight:bold;} +a:link, span.MsoHyperlink + {color:blue; + text-decoration:underline; + text-underline:single;} +a:visited, span.MsoHyperlinkFollowed + {color:purple; + text-decoration:underline; + text-underline:single;} +p + {mso-margin-top-alt:auto; + margin-right:0in; + mso-margin-bottom-alt:auto; + margin-left:0in; + mso-pagination:widow-orphan; + font-size:12.0pt; + font-family:"Times New Roman"; + mso-fareast-font-family:"MS Mincho"; + color:black;} +pre + {margin:0in; + margin-bottom:.0001pt; + mso-pagination:widow-orphan; + tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; + font-size:10.0pt; + font-family:"Courier New"; + mso-fareast-font-family:"MS Mincho"; + color:black;} +span.SpellE + {mso-style-name:""; + mso-spl-e:yes;} +span.GramE + {mso-style-name:""; + mso-gram-e:yes;} +@page Section1 + {size:8.5in 11.0in; + margin:1.0in 1.25in 1.0in 1.25in; + mso-header-margin:.5in; + mso-footer-margin:.5in; + mso-paper-source:0;} +div.Section1 + {page:Section1;} +--> +</style> +<!--[if gte mso 10]> +<style> + /* Style Definitions */ + table.MsoNormalTable + {mso-style-name:"Table Normal"; + mso-tstyle-rowband-size:0; + mso-tstyle-colband-size:0; + mso-style-noshow:yes; + mso-style-parent:""; + mso-padding-alt:0in 5.4pt 0in 5.4pt; + mso-para-margin:0in; + mso-para-margin-bottom:.0001pt; + mso-pagination:widow-orphan; + font-size:10.0pt; + font-family:"Times New Roman"; + mso-ansi-language:#0400; + mso-fareast-language:#0400; + mso-bidi-language:#0400;} +</style> +<![endif]--> +<meta name=Template content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot"> +<!--[if gte mso 9]><xml> + <o:shapedefaults v:ext="edit" spidmax="3074"/> +</xml><![endif]--><!--[if gte mso 9]><xml> + <o:shapelayout v:ext="edit"> + <o:idmap v:ext="edit" data="1"/> + </o:shapelayout></xml><![endif]--> +</head> + +<body bgcolor=white lang=EN-US link=blue vlink=purple style='tab-interval:.5in' +leftmargin=8> + +<div class=Section1> + +<h2><a name=classpnp></a><span class=SpellE><span style='mso-bookmark:classpnp'><span +style='font-family:Verdana'>ClassPnP</span></span></span><span +style='mso-bookmark:classpnp'></span><span style='font-family:Verdana'> <o:p></o:p></span></h2> + +<h3><span style='font-family:Verdana'>Summary<o:p></o:p></span></h3> + +<p><span style='font-size:10.0pt;font-family:Verdana'>This is the library for +all storage drivers. It simplifies writing a storage driver by implementing 90 percent +of the code required to support Plug and Play, Power Management, et cetera. +This library is used by <span class=SpellE>disk.sys</span>, <span class=SpellE>cdrom.sys</span> +and the tape class drivers.<o:p></o:p></span></p> + +<p><span style='font-size:10.0pt;font-family:Verdana'>No INF file is needed to +install this library. The library is 64-bit compliant.<o:p></o:p></span></p> + +<h3><span style='font-family:Verdana'>Building the Sample<o:p></o:p></span></h3> + +<p><span style='font-size:10.0pt;font-family:Verdana'>To build the sample, run <b>build</b>. +Once built, one binary will be created: <span class=SpellE>classpnp.sys</span>. +This sample is based on live source code, and only builds in the current OS +build environment.<span style='mso-spacerun:yes'>� </span><o:p></o:p></span></p> + +<h3><span style='font-family:Verdana'>CODE TOUR<o:p></o:p></span></h3> + +<h4><span style='font-family:Verdana'>File Manifest<o:p></o:p></span></h4> + +<pre><u>File<span style='mso-tab-count:3'>������������������ </span>Description<o:p></o:p></u></pre><pre><o:p> </o:p></pre><pre><span +class=SpellE>Autorun.c</span><span style='mso-tab-count:2'>������������� </span>Media change notification (MCN) code</pre><pre><span +class=SpellE>Class.c</span><span style='mso-tab-count:2'>������� </span><span +style='mso-tab-count:1'>������� </span>Main code base</pre><pre><span +class=SpellE>Class.rc</span><span style='mso-tab-count:2'>�������������� </span>Resource file</pre><pre><span +class=SpellE>Class.src</span><span style='mso-tab-count:2'>������������� </span>Exports</pre><pre><span +class=SpellE>Classp.h</span><span style='mso-tab-count:2'>�������������� </span>Private <span +class=GramE>header</span></pre><pre><span class=SpellE>Classwmi.c</span><span +style='mso-tab-count:2'>������������ </span>WMI functionality</pre><pre><span +class=SpellE>Clntirp.c</span><span style='mso-tab-count:2'>������������� </span>Client IRP queuing code</pre><pre><span +class=SpellE>Create.c</span><span style='mso-tab-count:2'>�������������� </span>Create IRP code</pre><pre><span +class=SpellE>Data.c</span><span style='mso-tab-count:2'>�������� </span><span +style='mso-tab-count:1'>������� </span>Static driver data</pre><pre><span +class=SpellE>Debug.c</span><span style='mso-tab-count:2'>������� </span><span +style='mso-tab-count:1'>������� </span>Debug code and data</pre><pre><span +class=SpellE>Debug.h</span><span style='mso-tab-count:2'>������� </span><span +style='mso-tab-count:1'>������� </span>Debug header file</pre><pre><span +class=SpellE>Dictlib.c</span><span style='mso-tab-count:2'>������������� </span>File system dictionary code</pre><pre><span +class=SpellE>Lock.c</span><span style='mso-tab-count:2'>�������� </span><span +style='mso-tab-count:1'>������� </span>Storage <span class=GramE>remove</span> lock implementation</pre><pre><span +class=SpellE>Makefile</span><span style='mso-tab-count:2'>�������������� </span><span +class=SpellE>Makefile</span></pre><pre><span class=SpellE>Obsolete.c</span><span +style='mso-tab-count:2'>������������ </span>Obsolete code used by legacy drivers</pre><pre><span +class=SpellE>Power.c</span><span style='mso-tab-count:2'>������� </span><span +style='mso-tab-count:1'>������� </span>Power code</pre><pre><span class=SpellE>Retry.c</span><span +style='mso-tab-count:2'>������� </span><span style='mso-tab-count:1'>������� </span>Transfer <span +class=GramE>packet retry</span> code</pre><pre>Sources<span style='mso-tab-count: +2'>������� </span><span style='mso-tab-count:1'>������� </span>Sources file</pre><pre><span +class=SpellE>Utils.c</span><span style='mso-tab-count:2'>������� </span><span +style='mso-tab-count:1'>������� </span>Utility code</pre><pre><span +class=SpellE>Xferpkt.c</span><span style='mso-tab-count:2'>������������� </span>Transfer packet processing code</pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre> + +<p align=center style='text-align:center;tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span +style='font-size:10.0pt;font-family:"Courier New"'><a href="#top"><span +style='font-family:Verdana'>Top of page</span></a></span><span +style='font-size:10.0pt;font-family:Verdana;mso-bidi-font-family:"Courier New"'> +<o:p></o:p></span></p> + +<pre><o:p> </o:p></pre> + +<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=624 + style='width:6.5in;mso-cellspacing:0in;mso-padding-alt:0in 5.4pt 0in 5.4pt'> + <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes; + height:1.5pt'> + <td style='background:aqua;padding:.75pt .75pt .75pt .75pt;height:1.5pt'> + <p class=MsoNormal><o:p> </o:p></p> + </td> + </tr> +</table> + +<pre><o:p> </o:p></pre><pre><o:p> </o:p></pre> + +<p style='tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt'><span +style='font-size:7.5pt;font-family:"MS Sans Serif";mso-bidi-font-family:"Courier New"'>� +2004 Microsoft Corporation</span><span style='font-size:10.0pt;font-family: +Verdana;mso-bidi-font-family:"Courier New"'> <o:p></o:p></span></p> + +</div> + +</body> + +</html> |
