MFT_TRANSFORM_CLSID_Attribute attribute

Contains the class identifier (CLSID) of a Media Foundation transform (MFT).

Data type

GUID

Syntax

DECLSPEC_SELECTANY GUID MFT_TRANSFORM_CLSID_Attribute = {0x6821c42b,0x65a4,0x4e82,{0x99,0xbc,0x9a,0x88,0x20,0x5e,0xcd,0xc} }  

Get/set

To get this attribute, call IMFAttributes::GetGUID

To set this attribute, call IMFAttributes::SetGUID

Remarks

This attribute is set on the IMFActivate pointers returned by the MFTEnumEx function.

This attribute is used internally by the activation object when it creates the MFT. Applications should not use this CLSID directly to create the MFT, because the activation object might need to initialize the MFT. Therefore, to create an instance of the MFT, call IMFActivate::ActivateObject on the activation object.

Note that the MFTEnumEx function behaves differently than the MFTEnum function in this respect. The MFTEnum function returns CLSIDs, which the application passes to the CoCreateInstance function. The MFTEnumEx function returns activation objects rather than CLSIDs.

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

Requirements

Header: Declared in mftransform.h.