Bluetooth Framework C++ Edition

◆ EnumPairedDevices() [1/2]

int EnumPairedDevices ( const wclBluetoothDiscoverKind  Kind,
wclBluetoothAddresses Devices 
)

The method enumerates already paired devices.

Parameters
KindEnumeration method: LE or Classic.
DevicesOn 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.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclBluetoothDiscoverKind