MFUnlockWorkQueue

Unlocks a work queue.

Syntax

HRESULT MFUnlockWorkQueue(
         DWORD dwWorkQueue
)  

Parameters

dwWorkQueue
Type: DWORD 

[in]

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

Return value

Type: HRESULT 

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

Return codes
Return code Description
S_OK The function succeeded.

Refer to Media Foundation return codes.

Remarks

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

Requirements

Header: Declared in mfapi.h.

Library: Use mfplat.lib.