Редагувати

Поділитися через


MF_MT_AM_FORMAT_TYPE attribute

Contains a DirectShow format GUID for a media type.

Data type

GUID

Remarks

This attribute might be set when a DirectShow media type is converted into a Media Foundation media type. The attribute indicates the original DirectShow format type. The value corresponds to the formattype member of the AM_MEDIA_TYPE structure.

For an audio format, the MF_MT_USER_DATA attribute might contain the original format block, if the DirectShow format type was not recognized.

Do not set this attribute on a media type unless you are converting a DirectShow format structure.

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

Requirements

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

See also

Alphabetical List of Media Foundation Attributes

Media Type Attributes

Media Type Conversions

Media Types

IMFAttributes::GetGUID

IMFAttributes::SetGUID

IMFMediaType

MFCreateMediaTypeFromRepresentation