Serial Framework
ContentsIndexHome
PreviousUpNext
TwclSerialMonitor.EnumDevices Method

Enumerates available serial devices.

Syntax
Pascal
function EnumDevices(out Devices: TwclSerialDevices): Integer;
Parameters 
Description 
out Devices: TwclSerialDevices 
On output contains array of found serial devices.  

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 nil or empty if no one serial device was found.

Copyright (c) 2006-2019. All rights reserved.