MF_PD_MIME_TYPE attribute

Specifies the MIME type of the content.

Data type

Wide-character string

Remarks

This attribute applies to presentation descriptors.

The MIME type exposed through System.MIMEType for media files may have a bias towards choosing MIME types suitable for Digital Living Network Alliance (DLNA).

MF_PD_MIME_TYPE and System.MIMEType may not always match.

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
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetString

IMFAttributes::SetString

IMFPresentationDescriptor

Presentation Descriptor Attributes