MFGetWorkQueueMMCSSTaskId function
Retrieves the Multimedia Class Scheduler Service (MMCSS) task identifier currently associated with this work queue.
Syntax
HRESULT MFGetWorkQueueMMCSSTaskId( _In_ DWORD dwWorkQueueId, _Out_ LPDWORD pdwTaskId );
Parameters
- dwWorkQueueId [in]
-
Identifier for the work queue. The identifier is retrieved by the MFAllocateWorkQueue function.
- pdwTaskId [out]
-
Receives the 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
To associate a work queue with an MMCSS task, call MFBeginRegisterWorkQueueWithMMCSS.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Show: