IMFMediaEventGenerator interface (mfobjects.h)
Retrieves events from any Media Foundation object that generates events.
Inheritance
The IMFMediaEventGenerator interface inherits from the IUnknown interface. IMFMediaEventGenerator also has these types of members:
Methods
The IMFMediaEventGenerator interface has these methods.
| 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) |