MF_MT_MAJOR_TYPE attribute

Major type GUID for a media type.

Data type

GUID

Remarks

The major type defines the overall category of the media data. Major types include video, audio, script, and so forth. For a list of possible values, see Major Media Types.

An alternate way to retrieve this attribute is to call IMFMediaType::GetMajorType.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 [desktop apps | UWP apps]
Header
Mfapi.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetGUID

IMFAttributes::SetGUID

IMFMediaType

Media Type Attributes