IMediaBuffer::GetMaxLength

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

HRESULT GetMaxLength(
  DWORD* pcbMaxLength
);

Parameters

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

Return Values

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

Requirements

OS Versions: Windows CE .NET 4.1 and later.
Header: Dmo.h.
Link Library: Dmoguid.lib.

See Also

IMediaBuffer

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.