Share via


IWMReaderAdvanced5 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 IWMReaderAdvanced5 interface enables you to associate a player-hook callback interface with the reader object.

An IWMReaderAdvanced5 interface exists for every reader object. You can obtain a pointer to an instance of this interface by calling the QueryInterface method of any other interface in the reader object.

Inheritance

The IWMReaderAdvanced5 interface inherits from IWMReaderAdvanced4. IWMReaderAdvanced5 also has these types of members:

Methods

The IWMReaderAdvanced5 interface has these methods.

 
IWMReaderAdvanced5::SetPlayerHook

The SetPlayerHook method assigns a player-hook callback to the reader. The reader calls the callback method before sending each sample to the graphics processor for decompression.

Remarks

A player-hook callback can be assigned in the reader object to enable per-sample processing when using DirectX Video Acceleration.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMReader Interface

IWMReaderAdvanced Interface

IWMReaderAdvanced2 Interface

IWMReaderAdvanced3 Interface

IWMReaderAdvanced4 Interface

IWMReaderAdvanced6 Interface

Interfaces