Windows Media Format SDK banner art
PreviousNext

IWMReaderAdvanced Interface

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

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

Method Description
DeliverTime Provides the reader with a clock time. This is used only when a user-driven clock is specified.
GetAllocateForOutput Retrieves a flag indicating whether the reader is configured to use the callback interface to allocate buffers for output samples.
GetAllocateForStream Retrieves a flag indicating whether the reader is configured to use the callback interface to allocate buffers for stream samples.
GetManualStreamSelection Retrieves a flag indicating whether manual stream selection has been specified.
GetMaxOutputSampleSize Retrieves the maximum buffer size to be allocated for the output sample.
GetMaxStreamSampleSize Retrieves the maximum buffer size to be allocated for the stream sample.
GetReceiveSelectionCallbacks Retrieves a flag that indicates whether receiving selection callbacks has been specified.
GetReceiveStreamSamples Retrieves a flag indicating whether the reader is configured to deliver stream samples (compressed samples).
GetStatistics Retrieves the current reader statistics.
GetStreamSelected Retrieves a flag indicating whether a particular stream is currently selected.  This can be used only when manual stream selection is specified.
GetUserProvidedClock Retrieves a flag indicating whether a user-driven clock has been specified.
NotifyLateDelivery Used to notify the Reader that it is delivering data to the client is too slowly.
SetAllocateForOutput Sets a flag indicating to the reader whether to allocate buffers from the user-supplied callback, or internally, for output samples.
SetAllocateForStream Sets a flag indicating to the reader whether to allocate buffers from the user-supplied callback, or internally, for stream samples.
SetClientInfo Sets client-side information used for logging.
SetManualStreamSelection Specifies whether stream selection is to be controlled manually.
SetReceiveSelectionCallbacks Specifies a flag indicating whether receiving selection callbacks is to be activated.
SetReceiveStreamSamples Specifies whether the reader should deliver stream samples (compressed) to the callback.
SetStreamsSelected Enables the selected state of a stream to be changed.
SetUserProvidedClock Specifies that a user-driven clock is to be used.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.