Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The Mtype.h header file in the DirectShow base classes provides helper functions for handling media types.

These general-purpose functions create, copy and delete a task-allocated AM_MEDIA_TYPEstructure.

This is useful when using the IEnumMediaTypesinterface, because the implementation allocates the structures that must be deleted later.

The functions are paired as follows:

See Also

Reference

Utility Functions