Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

 

 

Show:
© 2017 Microsoft