CMediaSample::GetSize

 
Microsoft DirectShow 9.0

CMediaSample::GetSize

The GetSize method retrieves the size of the buffer. This method implements the IMediaSample::GetSize method.

Syntax

  LONG GetSize(void);

Return Value

Returns the size of the buffer, in bytes.

Requirements

**  Header:** Declared in Amfilter.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also