Bluetooth Framework C++ Edition

◆ SetDefault()

int SetDefault ( const wclAudioDeviceRole  Role,
const tstring Id 
)

Sets the specified Audio Device as default for the specified Role.

Parameters
RoleThe device role.
IdThe device ID.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclAudioDeviceRole