Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MFGetWorkQueueMMCSSTaskId function

Retrieves the Multimedia Class Scheduler Service (MMCSS) task identifier currently associated with this work queue.

Syntax


HRESULT MFGetWorkQueueMMCSSTaskId(
  _In_   DWORD dwWorkQueueId,
  _Out_  LPDWORD pdwTaskId
);

Parameters

dwWorkQueueId [in]

Identifier for the work queue. The identifier is retrieved by the MFAllocateWorkQueue function.

pdwTaskId [out]

Receives the task identifier.

Return value

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

Return codeDescription
S_OK

The function succeeded.

 

Remarks

To associate a work queue with an MMCSS task, call MFBeginRegisterWorkQueueWithMMCSS.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Work Queues

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.