Macro Definitions for Obsolete Functions

The header file portcls.h defines a number of macros that aid in compiling legacy driver code without requiring edits to source files. These macros conveniently replace calls to obsolete PortCls and kernel-mode driver functions with calls to the new PortCls and kernel-mode driver functions. If you have old source code that contains references to the obsolete functions, you can use the macros in portcls.h to recompile the source files to create executable code that calls the new functions.

The following topics are discussed:

Obsolete Port Class Functions

Obsolete Kernel-Mode Driver-Support Functions