EnumSerialPorts

A set of functions to enumerate serial ports
Download

EnumSerialPorts Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Naughter Software
  • Operating Systems:
  • Windows All
  • File Size:
  • 28 KB

EnumSerialPorts Tags


EnumSerialPorts Description

The EnumSerialPorts class includes a set of functions to enumerate serial ports. One of the posts that keeps reappearing in the programming newsgroups is how to enumerate all the serial ports installed. The code uses a number of different methods to enumerate the ports. Main features: Simple C++ class interface. The code provides methods which support both Windows 9x and the Windows NT kernel versions of Windows. The code is fully Unicode compliant and includes Unicode built options in the solution file. Internally the code provides 9 different ways (yes you read that right: Nine) of enumerating serial ports: Using CreateFile, QueryDosDevice, GetDefaultCommConfig, two ways using the Setup API, EnumPorts, WMI, Com Database & enumerating the values under the registry key HKEY_LOCAL_MACHINEHARDWAREDEVICEMAPSERIALCOMM.


EnumSerialPorts Related Software