📄 serenum.htm
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>Serenum</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="MYSAMPLE">Serenum</A> </H2>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
Serenum enumerates Plug-n-Play RS-232 devices that are compliant with the current revision of Plug and Play External COM Device. The specification is available at <a href=http://www.microsoft.com/hwdev/download/respec/pnpcom.rtf>http://www.microsoft.com/hwdev/download/respec/pnpcom.rtf</a>.<P>
It loads as an upper filter driver to many different RS-232 device drivers that are compliant with its requirements and performs this service for them. <P>
<B>Note</B>: Future enhancement may allow Serenum to poll the port for devices. This has been disabled because of hardware compatibility issues, but may be re-enabled in future builds and/or releases. The code is roughly in place, but has been #if 0'ed out.<P>
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
To build the sample, run the <B>build</B> command. Once built, the sample produces one binary: Serenum.sys. The sample is 64-bit compliant, works on both x86 and Alpha platforms, and supports both Plug and Play and Power Management. <P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File		Description
</U>
Enum.c Functions that enumerate external serial devices—the main purpose of this driver
Makefile Makefile for building this driver
Pnp.c Plug and Play support code
Power.c Power support code
Serenum.c Basic driver functionality
Serenum.h Local header with defines, prototypes, etc
Serenum.rc Resource script
Sources Data file for build.exe
String.c String handling support; mainly ASCII to UNICODE functionality
</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 + -