IMF2DBuffer::Unlock2D Method

Unlocks a buffer that was previously locked. Call this method once for each call to IMF2DBuffer::Lock2D.

Syntax

public:
HRESULT Unlock2D()  

Return value

Type: HRESULT 

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

Return codes
Return code Description
S_OK The method succeeded.

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfobjects.h (include mfidl.h).

Library: Use Mfuuid.lib.