MFEndRegisterWorkQueueWithMMCSS function
Completes an asynchronous request to associate a work queue with a Multimedia Class Scheduler Service (MMCSS) task.
Syntax
HRESULT MFEndRegisterWorkQueueWithMMCSS( _In_ IMFAsyncResult *pResult, _In_ 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 [in]
-
The unique task identifier.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The function succeeded. |
Remarks
Call this function when the MFBeginRegisterWorkQueueWithMMCSS function completes asynchronously.
To unregister the work queue from the MMCSS class, call MFBeginUnregisterWorkQueueWithMMCSS.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also