TwclComDatabase.EnumUsedPorts(TwclComPortNumbers) Method
Enumerates the used COM ports.
public function EnumUsedPorts(var Ports: TwclComPortNumbers): Integer;
Parameters
- Ports
- Type: TwclComPortNumbers
The array that will be filled with used COM port numbers.
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.