RtwqBeginUnregisterWorkQueueWithMMCSS function (rtworkq.h)
Unregisters a work queue from a Multimedia Class Scheduler Service (MMCSS) task.
Syntax
HRESULT RtwqBeginUnregisterWorkQueueWithMMCSS(
[in] DWORD workQueueId,
[in] IRtwqAsyncCallback *doneCallback,
[in] IUnknown *doneState
);
Parameters
[in] workQueueId
The identifier of the work queue. For private work queues, the identifier is returned by the RtwqAllocateWorkQueue function.
[in] doneCallback
Pointer to the IRtwqAsyncCallback interface of a callback object. The caller must implement this interface.
[in] doneState
Pointer to the IUnknown interface of a state object, defined by the caller. This parameter can be NULL. You can use this object to hold state information. The object is returned to the caller when the callback is invoked.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
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 |