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 http://www.microsoft.com/hwdev/download/respec/pnpcom.rtf.
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.
To build the sample, run the build 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.
File DescriptionEnum.c Functions that enumerate external serial devicesthe 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
© 1999 Microsoft Corporation