Microsoft DirectX 9.0

IMediaTypeInfo Object

The IMediaTypeInfo object manages information about a media type. This object is a wrapper for the AM_MEDIA_TYPE structure, which is not Automation-compatible. However, only the major type and subtype are accessible through this object, and they cannot be modified.

Requirements

Include a reference in your project to "ActiveMovie control type library" (Quartz.dll).

The IMediaTypeInfo object exposes the following properties.

Property Description
Subtype Retrieves the subtype GUID as a string.
Type Retrieves the major type GUID as a string.