Unlocks the Media Foundation platform after it was locked by a call to the MFLockPlatform function.
HRESULT MFUnlockPlatform()
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 MFUnlockPlatform once for every call to MFLockPlatform.
Header: Declared in mfapi.h.
Library: Use mfplat.lib.