Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] dwWorkQueueId
Identifier for the work queue. The identifier is retrieved by the MFAllocateWorkQueue function.
[out] pdwTaskId
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | mfapi.h |
Library | Mfplat.lib |
DLL | Mfplat.dll |