IMFRealTimeClientEx::SetWorkQueueEx method

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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfidl.h

See also

Work Queues
Work Queue and Threading Improvements
IMFRealTimeClientEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft