Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MFGetWorkQueueMMCSSTaskId
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft