TwclBluetoothRadio.EnumConnectedDevices(TwclBluetoothAddresses) Method

The method enumerates connected devices.

Namespace: wclBluetooth
public
 function EnumConnectedDevices(out Devices: TwclBluetoothAddresses): Integer;

Parameters

Devices
Type: TwclBluetoothAddresses

On output the dynamic array will be filled with connected devices MACs. A caller is responsible to free the memory allocated (if was) for this parameter.

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.