Skip to main content
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

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

IMFAttributes::GetGUID
IMFAttributes::SetGUID
IMFMediaType
Media Type Attributes