Click or drag to resize

wclAudioSwitcherGetDefault Method

Gets the default Audio Device for the specified Role and Data Flow.

Namespace: wclAudio
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntax
public int GetDefault(
	wclAudioDeviceRole Role,
	wclAudioDeviceDataFlow Flow,
	out string Id
)

Parameters

Role  wclAudioDeviceRole
The device role.
Flow  wclAudioDeviceDataFlow
The audio data flow.
Id  String
If the method completed with success on output contains the default Audio 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