IMF2DBuffer::GetContiguousLength Method

Retrieves the number of bytes needed to store the contents of the buffer in contiguous format.

Syntax

public:
HRESULT GetContiguousLength(
         DWORD *pcbLength
)  

Parameters

pcbLength
Type: DWORD *

[out]

Receives the number of bytes needed to store the contents of the buffer in contiguous format.

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.

Remarks

For a definition of contiguous as it applies to 2-D buffers, see the Remarks section in IMF2DBuffer interface.

Requirements

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

Library: Use Mfuuid.lib.