Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

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

Mfapi.h;
Mfplat.lib

DLL

Mfplat.dll

See also

Work Queue and Threading Improvements

 

 

Community Additions

ADD
Show:
© 2015 Microsoft