MFRegisterPlatformWithMMCSS function
Registers the standard Microsoft Media Foundation platform work queues with the Multimedia Class Scheduler Service (MMCSS).
Syntax
HRESULT MFRegisterPlatformWithMMCSS( _In_ PCWSTR wszClass, _Inout_ DWORD *pdwTaskId, _In_ LONG lPriority );
Parameters
- wszClass [in]
-
The name of the MMCSS task.
- pdwTaskId [in, out]
-
The MMCSS task identifier. On input, specify an existing MCCSS task group ID, or use the value zero to create a new task group. On output, receives the actual task group ID.
- lPriority [in]
-
The base priority of the work-queue threads.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
To unregister the platform work queues from the MMCSS class, call MFUnregisterPlatformFromMMCSS.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also