Share via


IMediaBuffer::GetMaxLength (Compact 2013)

3/26/2014

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

See Also

Reference

IMediaBuffer