MECaptureAudioSessionDeviceRemoved event

Sent by an audio capture source when the device is removed.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPE Description
No event data.


This event is sent by the media stream of the audio capture source.

The capture source sends this event when it receives an IAudioSessionEvents::OnSessionDisconnected event from the audio session with the disconnection reason equal to DisconnectReasonDeviceRemoval.


Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events