다음을 통해 공유


IWMReaderAdvanced4 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 IWMReaderAdvanced4 interface provides additional functionality to the reader.

An IWMReaderAdvanced4 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 IWMReaderAdvanced4 interface inherits from IWMReaderAdvanced3. IWMReaderAdvanced4 also has these types of members:

Methods

The IWMReaderAdvanced4 interface has these methods.

 
IWMReaderAdvanced4::AddLogParam

The AddLogParam method adds a named value to the logging information that the reader object will send to the sever.
IWMReaderAdvanced4::CancelSaveFileAs

The CancelSaveFileAs method cancels a file save resulting from a call to IWMReaderAdvanced2::SaveFileAs.
IWMReaderAdvanced4::CanSaveFileAs

The CanSaveFileAs method ascertains whether the content being played by the reader can be saved using the IWMReaderAdvanced2::SaveFileAs method.
IWMReaderAdvanced4::GetLanguage

The GetLanguage method retrieves information about a language supported by an output. You must specify an output number and a language index, and this method will supply the RFC1766-compliant language string.
IWMReaderAdvanced4::GetLanguageCount

The GetLanguageCount method retrieves the total number of languages supported by an output. Only outputs associated with streams mutually exclusive by language will have more than one supported language.
IWMReaderAdvanced4::GetMaxSpeedFactor

The GetMaxSpeedFactor method retrieves the maximum playback rate that can be delivered by the source. For network content, this value reflects the available bandwidth relative to the maximum bit rate of the content.
IWMReaderAdvanced4::GetURL

The GetURL method retrieves the URL of the file being read. This URL might be different from the URL that was passed to IWMReader::Open, because the reader might have been redirected.
IWMReaderAdvanced4::IsUsingFastCache

The IsUsingFastCache method queries whether the reader is using Fast Cache streaming.
IWMReaderAdvanced4::SendLogParams

The SendLogParams method sends log entries to the originating server. Call this method after calling AddLogParam.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMReader Interface

IWMReaderAdvanced Interface

IWMReaderAdvanced2 Interface

IWMReaderAdvanced3 Interface

IWMReaderAdvanced5 Interface

IWMReaderAdvanced6 Interface

Interfaces

Reader Object

Reading ASF Files