Serial Framework C++ Edition

◆ EnumDevices()

int EnumDevices ( wclSerialDevices Devices) const

Enumerates available serial devices.

Parameters
DevicesOn output contains array of found serial devices.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Even if the method completed with success the Devices parameter can be NULL or empty if no one serial device was found.

See also
wclSerialDevice