11#if __has_include("defs.h")
19bool SerEnum_UsingRegistry (std::vector<int>& ports);
bool SerEnum_UsingCreateFile(std::vector< int > &ports)
Iterate from 1 to 255 finding those ports for which the CreateFile function doesn't fail.
Definition serenum1.cpp:32
bool SerEnum_UsingSetupAPI(std::vector< int > &ports, std::vector< std::string > &names)
Uses SetupDiEnumDeviceInfo function to retrieve available COM ports and their friendly name.
Definition serenum2.cpp:23