MESinkInvalidated event

Raised when a media sink becomes invalid.

Event values

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

VARTYPE Description
VT_EMPTY
No event data.

Attributes

The following attributes are defined for this event.

Attribute Description
MF_EVENT_OUTPUT_NODE
Identifies the topology node for this media sink.

Remarks

The Media Session raises this event if it receives any of the following events from the media sink:

A media sink can also raise this event, in which case the Media Session sets the MF_EVENT_OUTPUT_NODE attribute on the event and forwards the event to the application.

If the application receives this event, it needs to recreate the media sink and queue the topology again.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events