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


IAMMediaContent Interface (Windows Embedded CE 6.0)

1/6/2010

This interface provides methods for retrieving metadata from a stream. Applications can use this interface to retrieve information encoded into a stream, such as the author, title, and copyright.

Depending on the stream type, a filter might support a subset of the methods on this interface. For example, the AVI Splitter retrieves the copyright, author name, and title from INFO chunks in the AVI file. The remaining methods return E_NOTIMPL.

In addition to the methods inherited from IUnknown and IDispatch, the IAMMediaContent interface exposes the following methods.

Method Description

IAMMediaContent::get_AuthorName

Retrieves the author name.

IAMMediaContent::get_Title

Retrieves the title.

IAMMediaContent::get_Rating

Retrieves the rating.

IAMMediaContent::get_Description

Retrieves a description of the content.

IAMMediaContent::get_Copyright

Retrieves copyright information.

IAMMediaContent::get_BaseURL

Retrieves a base URL for the related Web content.

IAMMediaContent::get_LogoURL

Retrieves a URL for the logo.

IAMMediaContent::get_LogoIconURL

Retrieves a URL for the logo icon.

IAMMediaContent::get_WatermarkURL

Retrieves a URL for the watermark.

IAMMediaContent::get_MoreInfoURL

Retrieves a URL for additional information about the content.

IAMMediaContent::get_MoreInfoBannerImage

Retrieves an image for a related-information banner.

IAMMediaContent::get_MoreInfoBannerURL

Retrieves a URL for a related-information banner.

IAMMediaContent::get_MoreInfoText

Retrieves additional information as text.

Remarks

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

Requires Qnetwork.h. To define the class identifier, include Initguid.h before Qnetwork.h, but after Dshow.h.

#include <dshow.h>
#include <initguid.h>
#include <qnetwork.h>

This interface is typically exposed by parser filters, such as the AVI Splitter Filter and the MPEG-1 Parser/Splitter.

Requirements

Header dshow.h, initguid.h, qnetwork.h
Windows Embedded CE Windows CE 2.12 and later

See Also

Reference

DirectShow Interfaces