Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

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

 

 

Show:
© 2017 Microsoft