MFEndUnregisterWorkQueueWithMMCSS function (mfapi.h)

Completes an asynchronous request to unregister a work queue from a Multimedia Class Scheduler Service (MMCSS) task.

Syntax

HRESULT MFEndUnregisterWorkQueueWithMMCSS(
  [in] IMFAsyncResult *pResult
);

Parameters

[in] pResult

Pointer to the IMFAsyncResult interface. Pass in the same pointer that your callback object received in the IMFAsyncCallback::Invoke method.

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.

Remarks

Call this function when the MFBeginUnregisterWorkQueueWithMMCSS function completes asynchronously.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Work Queues