TwclUsbMonitor.EnumDevices(TwclUsbDevices) Method
Enumerates available USB devices.
public function EnumDevices(out Devices: TwclUsbDevices): Integer;
Parameters
- Devices
- Type: TwclUsbDevices
On output contains array of found USB devices.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.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.