Compartilhar via


IWMReaderAccelerator interface (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IWMReaderAccelerator interface is implemented on the reader object only when it is in decoding mode. It is called by a player or a player source filter to obtain interfaces from the decoder DMO.

Inheritance

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

Methods

The IWMReaderAccelerator interface has these methods.

 
IWMReaderAccelerator::GetCodecInterface

The GetCodecInterface method is used to retrieve a pointer to the IWMCodecAMVideoAccelerator interface exposed on the decoder DMO.
IWMReaderAccelerator::Notify

The Notify method is called by the source filter to pass in the negotiated media type.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

Enabling DirectX Video Acceleration