Skip to content

Latest commit

 

History

History
69 lines (42 loc) · 2.15 KB

mf-mt-am-format-type-attribute.md

File metadata and controls

69 lines (42 loc) · 2.15 KB
description ms.assetid title ms.topic ms.date
Contains a DirectShow format GUID for a media type.
dc532791-39e1-4acb-9e62-21d8f25be870
MF_MT_AM_FORMAT_TYPE attribute (Mfapi.h)
reference
05/31/2018

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