MF_TOPONODE_WORKQUEUE_MMCSS_TASKID attribute

Specifies a Multimedia Class Scheduler Service (MMCSS) task identifier for a topology branch.

Data type

UINT32

Remarks

This attribute applies to source nodes (MF_TOPOLOGY_SOURCESTREAM_NODE). This attribute is optional.

This attribute is ignored unless the following attributes are also set:

If the application registers one of its own threads with MMCSS, you can use this attribute to associate the topology work queue with the application's MMCSS group. Set the attribute value equal to the task identifier that the application received when it registered with MMCSS. (The task identifier is returned in the TaskIndex parameter of the AvSetMmThreadCharacteristics function. For more information, see the topic Process and Thread Functions.)

If you want MMCSS to assign a new task identifier for the topology, set the MF_TOPONODE_WORKQUEUE_MMCSS_CLASS attribute, but do not set the MF_TOPONODE_WORKQUEUE_MMCSS_TASKID attribute.

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

IMFWorkQueueServices::BeginRegisterTopologyWorkQueuesWithMMCSS

Topology Node Attributes

Work Queues