Unlocks a work queue.
HRESULT MFUnlockWorkQueue(
DWORD dwWorkQueue
)
dwWorkQueue
Type: DWORDÂ
[in]
Identifier for the work queue to be unlocked. The identifier is returned by the MFAllocateWorkQueue function.
Type: HRESULTÂ
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. |
Refer to Media Foundation return codes.
The application must call MFUnlockWorkQueue once for every call to MFAllocateWorkQueue and then once for every call to MFLockWorkQueue.
Header: Declared in mfapi.h.
Library: Use mfplat.lib.