MFUnlockWorkQueue function (mfapi.h)

Unlocks a work queue.

Syntax

HRESULT MFUnlockWorkQueue(
  [in] DWORD dwWorkQueue
);

Parameters

[in] dwWorkQueue

Identifier for the work queue to be unlocked. The identifier is returned by the MFAllocateWorkQueue function.

Return value

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

Return code Description
S_OK
The function succeeded.

Remarks

The application must call MFUnlockWorkQueue once for every call to MFAllocateWorkQueue and then once for every call to MFLockWorkQueue.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfapi.h
Library Mfplat.lib
DLL Mfplat.dll

See also

Media Foundation Functions

Work Queues