IMFWorkQueueServices::GetPlatformWorkQueueMMCSSTaskId method (mfidl.h)

Retrieves the Multimedia Class Scheduler Service (MMCSS) task identifier for a specified platform work queue.

Syntax

HRESULT GetPlatformWorkQueueMMCSSTaskId(
  [in]  DWORD dwPlatformWorkQueueId,
  [out] DWORD *pdwTaskId
);

Parameters

[in] dwPlatformWorkQueueId

Platform work queue to query. See IMFWorkQueueServices::BeginRegisterPlatformWorkQueueWithMMCSS.

[out] pdwTaskId

Receives the task identifier.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFWorkQueueServices