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.

43 lines
2.3 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>Serenum</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="MYSAMPLE">Serenum</A> </H2>
  10. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  11. 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>
  12. 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>
  13. <H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  14. 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. There is no one Inf for serenum because it is loaded as a filter driver in different driver stacks. An example of this can be found in %WINDIR%\inf\msports.inf. <P>
  15. <H3>CODE TOUR</H3>
  16. <H4>File Manifest</H4>
  17. </FONT><U><PRE>File&#9;&#9;Description
  18. </U>
  19. Enum.c Functions that enumerate external serial devices&#151;the main purpose of this driver
  20. Makefile Makefile for building this driver
  21. Pnp.c Plug and Play support code
  22. Power.c Power support code
  23. Serenum.c Basic driver functionality
  24. Serenum.h Local header with defines, prototypes, etc
  25. Serenum.rc Resource script
  26. Sources Data file for build.exe
  27. String.c String handling support; mainly ASCII to UNICODE functionality
  28. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  29. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  30. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  31. <P></TD>
  32. </TR>
  33. </TABLE>
  34. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  35. </HTML>