IMFRealTimeClientEx::SetWorkQueueEx method (mfidl.h)

Specifies the work queue that this object should use for asynchronous work items.

Syntax

HRESULT SetWorkQueueEx(
  DWORD dwMultithreadedWorkQueueId,
  LONG  lWorkItemBasePriority
);

Parameters

dwMultithreadedWorkQueueId

The work queue identifier.

lWorkItemBasePriority

The base priority for work items.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The object should use the values of dwMultithreadedWorkQueueId and lWorkItemBasePriority when it queues new work items. Use the MFPutWorkItem2 or MFPutWorkItemEx2 function to queue the work item.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See also

IMFRealTimeClientEx

Work Queue and Threading Improvements

Work Queues