IMFMediaEventGenerator Interface

Retrieves events from any Media Foundation object that generates events.

Syntax

interface IMFMediaEventGenerator : public IUnknown  

Remarks

An object that supports this interface maintains a queue of events. The client of the object can retrieve the events either synchronously or asynchronously. The synchronous method is GetEvent. The asynchronous methods are BeginGetEvent and EndGetEvent.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use mfuuid.lib.