TwclBluetoothRadio.HalEnumPairedDevices(TwclBluetoothAddresses) Method

Implements a hardware-dependent code for paired devices enumerating.

Namespace: wclBluetooth
protected
 function HalEnumPairedDevices(
 out Devices: TwclBluetoothAddresses): Integer; virtual; abstract;

Parameters

Devices
Type: TwclBluetoothAddresses

On output the dynamic array will be filled with pared 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.

A derived class must override this method to provide driver-dependent code.