Share via


IMFMediaEventQueue Interface

Provides an event queue for applications that need to implement the IMFMediaEventGenerator interface.

This interface is exposed by a helper object that implements an event queue. If you are writing a component that implements the IMFMediaEventGenerator interface, you can use this object in your implementation. The event queue object is thread safe and provides methods to queue events and to pull them from the queue either synchronously or asynchronously. To create the event queue object, call MFCreateEventQueue.

Mitglieder

IMFMediaEventQueueSchnittstelle erbt von der IUnknown-Schnittstelle. IMFMediaEventQueue umfasst auch die folgenden Typen von Mitgliedern:

  • Methoden

Methoden

IMFMediaEventQueueSchnittstelle umfasst die folgenden Methoden.

Methode Beschreibung
BeginGetEvent

Begins an asynchronous request for the next event in the queue.

EndGetEvent

Completes an asynchronous request for the next event in the queue.

GetEvent

Retrieves the next event in the queue.

QueueEvent

Puts an event in the queue.

QueueEventParamUnk

Creates an event, sets an IUnknown pointer as the event data, and puts the event in the queue.

QueueEventParamVar

Creates an event, sets a PROPVARIANT as the event data, and puts the event in the queue.

Shutdown

Shuts down the event queue.

 

Hinweise

This interface is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP mit Service Pack 2 (SP2) und höher.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (Oktober 2006 Updaterollup für Windows XP Media Center Edition) installed.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfobjects.h (include Mfidl.h)

Bibliothek

Mfuuid.lib

Siehe auch

Media Foundation Interfaces

Media Event Generators