Export (0) Print
Expand All

IMFRealTimeClient::SetWorkQueue method

Specifies the work queue for the topology branch that contains this object.

Syntax


HRESULT SetWorkQueue(
  [in]  DWORD dwWorkQueueId
);

Parameters

dwWorkQueueId [in]

The identifier of the work queue, or the value MFASYNC_CALLBACK_QUEUE_UNDEFINED. See Remarks.

Return value

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

Remarks

An application can register a branch of the topology to use a private work queue. The Media Session notifies any pipeline object that supports IMFRealTimeClient by calling SetWorkQueue with the application's work queue identifier.

When the application unregisters the topology branch, the Media Session calls SetWorkQueue again with the value MFASYNC_CALLBACK_QUEUE_UNDEFINED.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFRealTimeClient
IMFWorkQueueServices::BeginRegisterTopologyWorkQueuesWithMMCSS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft