MFUnlockPlatform

Unlocks the Media Foundation platform after it was locked by a call to the MFLockPlatform function.

Syntax

HRESULT MFUnlockPlatform()  

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 MFUnlockPlatform once for every call to MFLockPlatform.

Requirements

Header: Declared in mfapi.h.

Library: Use mfplat.lib.