Programming Installation of Serial Ports and COM Ports

Note

This topic describes programming traditional COM ports. For information on USB attached serial ports, see USB serial driver (Usbser.sys).

For most devices, the Ports device setup class and the Serial function driver provide the functionality required to operate serial ports and COM ports. To install serial ports and COM ports using these system-supplied components, do the following:

  • Provide an INF file that specifies the Ports device setup class and the Serial function driver as the service for the port.

  • To configure a serial port as COM port, comply with the requirements that are defined in Configuration of COM Ports.

For more information about installing serial ports and COM ports using the Ports device setup class and the Serial function driver, see the following topics:

Programming Installation for Plug and Play Serial Ports and COM Ports

If you do a custom installation of a COM port, you must comply with the COM port requirements that are defined in Configuration of COM Ports.