TwclBluetoothRadio.EnumComPorts(TwclVirtualComPorts) Method
Enumerates already installed Bluetooth virtual COM ports.
public function EnumComPorts(out ComPorts: TwclVirtualComPorts): Integer;
Parameters
- ComPorts
- Type: TwclVirtualComPorts
If the function completed with success contains array of all installed Bluetooth virtual COM ports. If not one vCOM was found the value of the
ComPorts
parameter can benil
.
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.
The function enumerates all installed Bluetooth virtual COM ports. The list includes vCOMs created by the application and vCOMs created by an user outside the application.