IMFWorkQueueServices::EndRegisterPlatformWorkQueueWithMMCSS method (mfidl.h)

Completes an asynchronous request to associate a platform work queue with a Multimedia Class Scheduler Service (MMCSS) task.


HRESULT EndRegisterPlatformWorkQueueWithMMCSS(
  [in]  IMFAsyncResult *pResult,
  [out] DWORD          *pdwTaskId


[in] pResult

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

[out] pdwTaskId

The unique task identifier.

Return value

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

Return code Description
The method succeeded.


Call this function when the IMFWorkQueueServices::BeginRegisterPlatformWorkQueueWithMMCSS method completes asynchronously.

To unregister the work queue from the MMCSS class, call IMFWorkQueueServices::BeginUnregisterPlatformWorkQueueWithMMCSS.


Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also