Поделиться через


IWMReaderAdvanced2 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 IWMReaderAdvanced2 interface provides additional advanced methods for a reader object.

Inheritance

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

Methods

The IWMReaderAdvanced2 interface has these methods.

 
IWMReaderAdvanced2::GetBufferProgress

The GetBufferProgress method retrieves the percentage of data that has been buffered, and the time remaining to completion.
IWMReaderAdvanced2::GetDownloadProgress

The GetDownloadProgress method retrieves the percentage and amount of data that has been downloaded, and the time remaining to completion.
IWMReaderAdvanced2::GetLogClientID

The GetLogClientID method queries whether the reader logs the client's unique ID or an anonymous session ID.
IWMReaderAdvanced2::GetOutputSetting

The GetOutputSetting method retrieves a setting for a particular output by name.
IWMReaderAdvanced2::GetPlayMode

The GetPlayMode method retrieves the current play mode.
IWMReaderAdvanced2::GetProtocolName

The GetProtocolName method retrieves the name of the protocol that is being used.
IWMReaderAdvanced2::GetSaveAsProgress

The GetSaveAsProgress method retrieves the percentage of data that has been saved.
IWMReaderAdvanced2::OpenStream

The OpenStream method opens a Windows Media stream for reading.
IWMReaderAdvanced2::Preroll

The Preroll method is used to begin prerolling (buffering data) for the reader.
IWMReaderAdvanced2::SaveFileAs

The SaveFileAs method saves the current file.
IWMReaderAdvanced2::SetLogClientID

The SetLogClientID method specifies whether the reader logs the client's unique ID or an anonymous session ID.
IWMReaderAdvanced2::SetOutputSetting

The SetOutputSetting method specifies a named setting for a particular output.
IWMReaderAdvanced2::SetPlayMode

The SetPlayMode method specifies the play mode.
IWMReaderAdvanced2::StartAtMarker

The StartAtMarker method starts the reader from a specified marker.
IWMReaderAdvanced2::StopBuffering

The StopBuffering method requests that the reader send the WMT_BUFFERING_STOP message as soon as possible.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMReader Interface

IWMReaderAdvanced Interface

IWMReaderAdvanced3 Interface

IWMReaderAdvanced4 Interface

IWMReaderAdvanced5 Interface

IWMReaderAdvanced6 Interface

Interfaces

Reader Object

Reading ASF Files