Edit

Share via


RtwqRegisterPlatformWithMMCSS function (rtworkq.h)

Registers the standard platform work queues with the Multimedia Class Scheduler Service (MMCSS).

Syntax

HRESULT RtwqRegisterPlatformWithMMCSS(
  [in]      PCWSTR usageClass,
  [in, out] DWORD  *taskId,
  [in]      LONG   lPriority
);

Parameters

[in] usageClass

The name of the MMCSS task.

[in, out] taskId

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.

[in] lPriority

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.

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