wclAudioSwitcherSetDefault Method |
Sets the specified Audio Device as default for the specified
Role.
Namespace: wclAudioAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic int SetDefault(
wclAudioDeviceRole Role,
string Id
)
Public Function SetDefault (
Role As wclAudioDeviceRole,
Id As String
) As Integer
public:
int SetDefault(
wclAudioDeviceRole Role,
String^ Id
)
Parameters
- Role wclAudioDeviceRole
- The device role.
- Id String
- The device ID.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also