RtwqEndRegisterWorkQueueWithMMCSS function (rtworkq.h)

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

Syntax

HRESULT RtwqEndRegisterWorkQueueWithMMCSS(
  IRtwqAsyncResult *result,
  DWORD            *taskId
);

Parameters

result

Pointer to the asynchronous result. Pass in the same pointer that your callback object received in the IRtwqAsyncCallback::Invoke method.

taskId

The unique task identifier.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Call this function when the RtwqBeginRegisterWorkQueueWithMMCSSEx function completes asynchronously.

To unregister the work queue from the MMCSS class, call RtwqBeginUnregisterWorkQueueWithMMCSS.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header rtworkq.h
Library Rtworkq.lib
DLL RTWorkQ.dll