IMFWorkQueueServicesEx::BeginRegisterPlatformWorkQueueWithMMCSSEx method (mfidl.h)

Registers a platform work queue with Multimedia Class Scheduler Service (MMCSS) using the specified class and task id.

Syntax

HRESULT BeginRegisterPlatformWorkQueueWithMMCSSEx(
  [in] DWORD            dwPlatformWorkQueue,
  [in] LPCWSTR          wszClass,
  [in] DWORD            dwTaskId,
  [in] LONG             lPriority,
  [in] IMFAsyncCallback *pCallback,
  [in] IUnknown         *pState
);

Parameters

[in] dwPlatformWorkQueue

The id of one of the standard platform work queues.

[in] wszClass

The MMCSS class which the work queue should be registered with.

[in] dwTaskId

The task id which the work queue should be registered with. If dwTaskId is 0, a new MMCSS bucket will be created.

[in] lPriority

The priority.

[in] pCallback

Standard callback used for async operations in Media Foundation.

[in] pState

Standard state used for async operations in Media Foundation.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

IMFWorkQueueServicesEx