Share via


IMediaBuffer::GetMaxLength (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IMediaBuffer