MF_TOPONODE_DRAIN attribute

Specifies when a transform is drained.

Data type

UINT32

Remarks

This attribute applies to transform nodes (MF_TOPOLOGY_TRANSFORM_NODE).

The value of the attribute is a member of the MF_TOPONODE_DRAIN_MODE enumeration. If this attribute is not set, the default value is MF_TOPONODE_DRAIN_DEFAULT.

Draining is performed by calling IMFTransform::ProcessMessage on the transform with the MFT_MESSAGE_COMMAND_DRAIN message. For more information, see MFT_MESSAGE_TYPE enumeration.

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
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

IMFAttributes::GetUINT32

IMFAttributes::SetUINT32

IMFTopologyNode

Topology Node Attributes