Retrieves events from any Media Foundation object that generates events.
interface IMFMediaEventGenerator : public IUnknown
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.
Header: Declared in mfobjects.h (include mfidl.h).
Library: Use mfuuid.lib.