wclAudioSwitcherGetDefault Method |
Gets the default Audio Device for the specified Role and
Data Flow.
Namespace: wclAudioAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic int GetDefault(
wclAudioDeviceRole Role,
wclAudioDeviceDataFlow Flow,
out string Id
)
Public Function GetDefault (
Role As wclAudioDeviceRole,
Flow As wclAudioDeviceDataFlow,
<OutAttribute> ByRef Id As String
) As Integer
public:
int GetDefault(
wclAudioDeviceRole Role,
wclAudioDeviceDataFlow Flow,
[OutAttribute] 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