IMFWorkQueueServices::EndRegisterPlatformWorkQueueWithMMCSS method

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

Syntax


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

Parameters

pResult [in]

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

pdwTaskId [out]

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 codeDescription
S_OK

The method succeeded.

 

Remarks

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

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

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

IMFWorkQueueServices

 

 

Community Additions

ADD
Show:
© 2014 Microsoft