MFT_PROCESS_LOCAL_Attribute attribute

Specifies whether a Media Foundation transform (MFT) is registered only in the application’s process.

Data type

UINT32

Syntax

DECLSPEC_SELECTANY GUID MFT_PROCESS_LOCAL_Attribute = {0x543186e4,0x4649,0x4e65,{0xb5,0x88,0x4a,0xa3,0x52,0xaf,0xf3,0x79} }  

Get/set

To get this attribute, call IMFAttributes::GetUINT32

To set this attribute, call IMFAttributes::SetUINT32

Remarks

This attribute is used as follows:

  1. The application registers a local MFT by calling either the MFTRegisterLocal or MFTRegisterLocalByCLSID function. These functions register the MFT in the application’s process.
  2. The MFTEnumEx function is called to enumerate MFTs that match a particular set of criteria. The application might call the MFTEnumEx function directly, but more often this function is called by the topology loader.
  3. The MFTEnumEx function retrieves an array of IMFActivate pointers, each representing an activation object for an MFT. If an MFT is registered locally, the MFT_PROCESS_LOCAL_Attribute attribute is set to TRUE on the corresponding activation object.

The default value for this attribute is FALSE.

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

Requirements

Header: Declared in mftransform.h.