IMMNotificationClientOnDefaultDeviceChanged Method
Notifies the client that the default audio endpoint device for a particular role has changed.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult OnDefaultDeviceChanged(
EDataFlow dataFlow,
ERole deviceRole,
string defaultDeviceId
)
<PreserveSigAttribute>
Function OnDefaultDeviceChanged (
dataFlow As EDataFlow,
deviceRole As ERole,
defaultDeviceId As String
) As HResult
Dim instance As IMMNotificationClient
Dim dataFlow As EDataFlow
Dim deviceRole As ERole
Dim defaultDeviceId As String
Dim returnValue As HResult
returnValue = instance.OnDefaultDeviceChanged(dataFlow,
deviceRole, defaultDeviceId)
[PreserveSigAttribute]
HResult OnDefaultDeviceChanged(
EDataFlow dataFlow,
ERole deviceRole,
String^ defaultDeviceId
)
[<PreserveSigAttribute>]
abstract OnDefaultDeviceChanged :
dataFlow : EDataFlow *
deviceRole : ERole *
defaultDeviceId : string -> HResult
No code example is currently available or this language may not be supported.
- dataFlow EDataFlow
-
The data-flow direction of the endpoint device.
- deviceRole ERole
-
The device role of the audio endpoint device.
- defaultDeviceId String
-
The endpoint ID string that identifies the audio endpoint device.
HResult[Missing <returns> documentation for "M:DevCase.Win32.Interfaces.IMMNotificationClient.OnDefaultDeviceChanged(DevCase.Win32.Enums.EDataFlow,DevCase.Win32.Enums.ERole,System.String)"]