Export (0) Print
Expand All

IMFWorkQueueServicesEx::BeginRegisterPlatformWorkQueueWithMMCSSEx method

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

dwPlatformWorkQueue [in]

The id of one of the standard platform work queues.

wszClass [in]

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

dwTaskId [in]

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

lPriority [in]

The priority.

pCallback [in]

Standard callback used for async operations in Media Foundation.

pState [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfidl.idl

See also

IMFWorkQueueServicesEx

 

 

Community Additions

ADD
Show:
© 2014 Microsoft