Share via


IMediaBuffer::GetMaxLength

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method retrieves the maximum number of bytes this buffer can hold.

Syntax

HRESULT GetMaxLength(
  DWORD* pcbMaxLength
);

Parameters

  • pcbMaxLength
    [out] Pointer to a variable that receives the buffer's maximum size, in bytes.

Return Value

Returns S_OK if successful. Otherwise, it returns an HRESULT value indicating the cause of the error.

Requirements

Header dmo.h
Library Dmoguid.lib
Windows Embedded CE Windows CE .NET 4.1 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IMediaBuffer