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
| Requirement | Value |
|---|---|
| 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
Feedback
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback.
Submit and view feedback for