Freigeben über


MFPutWorkItemEx Function

Puts an asynchronous operation on a work queue.

Syntax

HRESULT MFPutWorkItemEx(
  __in  DWORD dwQueue,
  __in  IMFAsyncResult *pResult
);

Parameter

Rückgabewert

Returns an HRESULT value. Possible values include the following.

Rückgabecode Beschreibung
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.

 

Hinweise

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 mit Service Pack 2 (SP2) und höher.
  • Windows XP Media Center Edition 2005 with KB900325 (Windows XP Media Center Edition 2005) and KB925766 (Oktober 2006 Updaterollup für Windows XP Media Center Edition) installed.

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Mfapi.h

Bibliothek

Mfplat.lib

DLL

Mfplat.dll

Siehe auch

Media Foundation Functions

Work Queues

MFPutWorkItem