Serial Framework
ContentsIndexHome
PreviousUpNext
TwclUsbMonitor.EnumDevices Method

Enumerates available USB devices.

Syntax
Pascal
function EnumDevices(out Devices: TwclUsbDevices): Integer;
Parameters 
Description 
out Devices: TwclUsbDevices 
On output contains array of found USB 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 USB device was found.

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