Serial Framework C++ Edition

◆ wclReadDeviceInformation()

int wclReadDeviceInformation ( const tstring Instance,
wclSerialDevice Device 
)

Helper function that reads serial device information by its Device Instance ID.

Parameters
InstanceThe device instance ID string.
DeviceThe wclSerialDevice object with device information.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclSerialDevice