Microsoft DirectX 9.0

IMediaObjectInPlace Interface

The IMediaObjectInPlace interface provides methods for processing data in place. A Microsoft DirectX Media Object (DMO) can expose this interface if it meets the following conditions:

This interface provides an optimized way to process data. The application calls a single IMediaObjectInPlace::Process method instead of the IMediaObject::ProcessInput and IMediaObject::ProcessOutput methods. However, any DMO that implements this interface must also implement the IMediaObject interface. Therefore, an application is never obligated to use this interface, and a DMO is never guaranteed to implement it.

In addition to the methods inherited from IUnknown, the IMediaObjectInPlace interface exposes the following methods.

Method Description
Clone Creates a copy of the DMO in its current state.
GetLatency Retrieves the latency introduced by this DMO.
Process Processes a block of data.


Declared in Mediaobj.h; include Dmo.h.

Link to Dmoguids.lib.