IMediaSample::GetSize

 
Microsoft DirectShow 9.0

IMediaSample::GetSize

The GetSize method retrieves the size of the buffer.

Syntax

  long GetSize(void);

Return Values

Returns the size of the buffer, in bytes. The size does not include the prefix bytes, if any.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also