MFUnlockDXGIDeviceManager

Unlocks the shared Microsoft DirectX Graphics Infrastructure (DXGI) Device Manager.

Syntax

HRESULT MFUnlockDXGIDeviceManager()  

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Refer to Media Foundation return codes.

Remarks

Call this function after a successful call to the MFLockDXGIDeviceManager function.

Requirements

Header: Declared in mfapi.h.

Library: Use mfplat.lib.