IMFRealTimeClientEx interface

Notifies a pipeline object to register itself with the Multimedia Class Scheduler Service (MMCSS).

This interface is a replacement for the IMFRealTimeClient interface.

When to implement

A pipeline object (media source, media sink, or transform) should implement this interface if it meets either of the following conditions:

  • The object uses Media Foundation work queues to queue asynchronous work items.
  • The object creates one or more worker threads.

Note  Work queues are recommended instead of creating new threads. Work queues scale better, require fewer threads, and automatically support MMCSS.

When to use

Applications typically do not use this interface. The Media Foundation pipeline uses this interface to communicate with objects in the pipeline.


The IMFRealTimeClientEx interface inherits from the IUnknown interface. IMFRealTimeClientEx also has these types of members:


The IMFRealTimeClientEx interface has these methods.


Notifies the object to register its worker threads with the Multimedia Class Scheduler Service (MMCSS).


Specifies the work queue that this object should use for asynchronous work items.


Notifies the object to unregister its worker threads from the Multimedia Class Scheduler Service (MMCSS).



Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]



See also

Media Foundation Interfaces
Work Queue and Threading Improvements