IAMMediaContent2 Interface
Microsoft DirectShow 9.0 |
IAMMediaContent2 Interface
The IAMMediaContent2 interface retrieves custom parameters and playlists from ASX files. This interface is not implemented by any default components in DirectShow.
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. |
Requirements
Header: Include Qnetwork.h.
Library: None.
To define the interface identifier, include the header file Initguid.h before Qnetwork.h, but after Dshow.h and other header files:
#include <dshow.h> #include <initguid.h> #include <qnetwork.h>
- Note Make sure that Initguid.h is included only once in your project. Otherwise, you will receive linker errors for duplicate GUID values.