Partager via


IDMOWrapperFilter interface (dmodshow.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IDMOWrapperFilter interface enables an application to use a DirectX Media Object (DMO) inside a filter graph. The DMO Wrapper filter exposes this interface.

To add a DMO to the filter graph, create an instance of the DMO Wrapper filter and query it for the IDMOWrapperFilter interface. Then call the IDMOWrapperFilter::Init method to initialize the filter with the DMO.

Inheritance

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

Methods

The IDMOWrapperFilter interface has these methods.

 
IDMOWrapperFilter::Init

The Init method initializes the DMO Wrapper filter with the specified DMO.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header dmodshow.h

See also

DirectX Media Objects