Skip to content

Latest commit

 

History

History
131 lines (103 loc) · 3.88 KB

nf-mfapi-mfputworkitemex.md

File metadata and controls

131 lines (103 loc) · 3.88 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mfapi.MFPutWorkItemEx
MFPutWorkItemEx function (mfapi.h)
Puts an asynchronous operation on a work queue. (MFPutWorkItemEx)
67b4f7c6-0d49-4ed0-9bc3-e583451884af
MFPutWorkItemEx
MFPutWorkItemEx function [Media Foundation]
mf.mfputworkitemex
mfapi/MFPutWorkItemEx
mf\mfputworkitemex.htm
mf
67b4f7c6-0d49-4ed0-9bc3-e583451884af
12/05/2018
67b4f7c6-0d49-4ed0-9bc3-e583451884af, MFPutWorkItemEx, MFPutWorkItemEx function [Media Foundation], mf.mfputworkitemex, mfapi/MFPutWorkItemEx
mfapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Mfplat.lib
Mfplat.dll
Windows
19H1
MFPutWorkItemEx
mfapi/MFPutWorkItemEx
c++
APIRef
kbSyntax
DllExport
mfplat.dll
MFPutWorkItemEx

MFPutWorkItemEx function

-description

Puts an asynchronous operation on a work queue.

-parameters

-param dwQueue [in]

The identifier for the work queue. This value can specify one of the standard Media Foundation work queues, or a work queue created by the application. For list of standard Media Foundation work queues, see Work Queue Identifiers. To create a new work queue, call MFAllocateWorkQueue or MFAllocateWorkQueueEx.

-param pResult [in]

A pointer to the IMFAsyncResult interface of an asynchronous result object. To create the result object, call MFCreateAsyncResult.

-returns

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK
Success.
MF_E_INVALID_WORKQUEUE
Invalid work queue identifier. For more information, see IMFAsyncCallback::GetParameters.
MF_E_SHUTDOWN
The MFStartup function was not called, or MFShutdown was called.

-remarks

To invoke the work-item, this function passes pResult to the MFInvokeCallback function. The callback is specified when you create the result object specified by pResult.

This function is available on the following platforms if the Windows Media Format 11 SDK redistributable components are installed:

  • Windows XP with Service Pack 2 (SP2) and later.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (October 2006 Update Rollup for Windows XP Media Center Edition) installed.

-see-also

MFPutWorkItem

Media Foundation Functions

Work Queues