Bluetooth Framework C++ Edition

◆ EnumRemoteServices()

int EnumRemoteServices ( const __int64  Address,
const GUID *const  Uuid,
wclBluetoothServices Services 
)

Reads the available services from a remote Bluetooth device.

Parameters
AddressThe remote Bluetooth device's MAC address.
UuidThe pointer to a service's UUID. If an application need to get information about specific service it set this parameter to a valid pointer to the required service's UUID. If this parameter is NULL the information about all available services will be returned.
ServicesOn output the remote Bluetooth device services list. An application is responsible to free a memory allocated for the array.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.