Microsoft DirectX 9.0

IAMMediaContent Interface

The IAMMediaContent 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. This interface is typically exposed by parser filters, such as the AVI Splitter filter and the MPEG-1 Stream Splitter filter.

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.

Note   Microsoft® Windows Media™ Player does not use this interface to display metadata.

exposes the following methods.

Method Description
get_AuthorName Retrieves the author name.
get_Title Retrieves the title.
get_Rating Retrieves the rating.
get_Description Retrieves a description of the content.
get_Copyright Retrieves copyright information.
get_BaseURL Retrieves a base URL for the related Web content.
get_LogoURL Retrieves a URL for the logo.
get_LogoIconURL Retrieves a URL for the logo icon.
get_WatermarkURL Retrieves a URL for the watermark.
get_MoreInfoURL Retrieves a URL for additional information about the content.
get_MoreInfoBannerImage Retrieves an image for a related-information banner.
get_MoreInfoBannerURL Retrieves a URL for a related-information banner.
get_MoreInfoText Retrieves additional information as text.

Requirements

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

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

Note   Make sure that Initguid.h is included only once in your project.