IMFMediaEventGenerator interface

Retrieves events from any Media Foundation object that generates events.

Methods

The IMFMediaEventGenerator interface has these methods.

Method Description
IMFMediaEventGenerator::BeginGetEvent Begins an asynchronous request for the next event in the queue.
IMFMediaEventGenerator::EndGetEvent Completes an asynchronous request for the next event in the queue.
IMFMediaEventGenerator::GetEvent Retrieves the next event in the queue. This method is synchronous.
IMFMediaEventGenerator::QueueEvent Puts a new event in the object's queue.

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

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h (include Mfidl.h)

See Also

Media Event Generators

Media Foundation Interfaces