Microsoft DirectX 9.0

IAMMediaContent2 Interface

The IAMMediaContent2 interface is used to retrieve custom parameters and playlists from ASX files.

In addition to the methods inherited from IDispatch, the IAMMediaContent2 interface exposes the following methods.

Method Description
get_MediaParameter Retrieves the value of a custom parameter.
get_MediaParameterName Retrieves the name of a custom parameter.
get_PlaylistCount Retrieves the number of playlist entries.


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.