IWMReaderAdvanced 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.]

A call to QueryInterface from a reader object exposes the advanced functionality described in this section.

Inheritance

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

Methods

The IWMReaderAdvanced interface has these methods.

 
IWMReaderAdvanced::DeliverTime

The DeliverTime method provides the reader with a clock time. Use this method only when the application is providing the clock.
IWMReaderAdvanced::GetAllocateForOutput

The GetAllocateForOutput method ascertains whether the reader is configured to use the IWMReaderCallbackAdvanced interface to allocate samples delivered by the IWMReaderCallback::OnSample callback.
IWMReaderAdvanced::GetAllocateForStream

The GetAllocateForStream method ascertains whether the reader is configured to use IWMReaderCallbackAdvanced to allocate stream samples delivered by the IWMReaderCallbackAdvanced::OnStreamSample callback.
IWMReaderAdvanced::GetManualStreamSelection

The GetManualStreamSelection method ascertains whether manual stream selection has been specified.
IWMReaderAdvanced::GetMaxOutputSampleSize

The GetMaxOutputSampleSize method retrieves the maximum buffer size to be allocated for output samples for a specified media stream.
IWMReaderAdvanced::GetMaxStreamSampleSize

The GetMaxStreamSampleSize method retrieves the maximum buffer size to be allocated for stream samples for a specified media stream.
IWMReaderAdvanced::GetReceiveSelectionCallbacks

The GetReceiveSelectionCallbacks method ascertains whether the option to receive stream selection notifications has been enabled.
IWMReaderAdvanced::GetReceiveStreamSamples

The GetReceiveStreamSamples method ascertains whether stream samples are delivered to the IWMReaderCallbackAdvanced::OnStreamSample call.
IWMReaderAdvanced::GetStatistics

The GetStatistics method retrieves the current reader statistics.
IWMReaderAdvanced::GetStreamSelected

The GetStreamSelected method ascertains whether a particular stream is currently selected. This method can be used only when manual stream selection has been specified.
IWMReaderAdvanced::GetUserProvidedClock

The GetUserProvidedClock method ascertains whether a user-provided clock has been specified.
IWMReaderAdvanced::NotifyLateDelivery

The NotifyLateDelivery method is used to notify the reader that it is delivering data to the application too slowly.
IWMReaderAdvanced::SetAllocateForOutput

The SetAllocateForOutput method specifies whether the reader allocates its own buffers for output samples or gets buffers from your application.
IWMReaderAdvanced::SetAllocateForStream

The SetAllocateForStream method specifies whether the reader uses IWMReaderCallbackAdvanced::AllocateForStream to allocate buffers for stream samples.
IWMReaderAdvanced::SetClientInfo

The SetClientInfo method sets client-side information used for logging.
IWMReaderAdvanced::SetManualStreamSelection

The SetManualStreamSelection method specifies whether stream selection is to be controlled manually.
IWMReaderAdvanced::SetReceiveSelectionCallbacks

The SetReceiveSelectionCallbacks method specifies whether stream selection notifications must be sent to IWMReaderCallbackAdvanced::OnStreamSelection.
IWMReaderAdvanced::SetReceiveStreamSamples

The SetReceiveStreamSamples method specifies whether stream samples are delivered to the IWMReaderCallbackAdvanced::OnStreamSample callback.
IWMReaderAdvanced::SetStreamsSelected

The SetStreamsSelected method specifies which streams are selected when manual stream selection is enabled.
IWMReaderAdvanced::SetUserProvidedClock

The SetUserProvidedClock method specifies whether a clock provided by the application is to be used.

Requirements

   
Target Platform Windows
Header wmsdkidl.h

See also

IWMReader Interface

IWMReaderAdvanced2 Interface

IWMReaderAdvanced3 Interface

IWMReaderAdvanced4 Interface

IWMReaderAdvanced5 Interface

IWMReaderAdvanced6 Interface

IWMReaderCallback Interface

IWMReaderCallbackAdvanced Interface

Interfaces

Reader Object

Reading ASF Files