CMediaSample.GetSize method

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

Syntax


LONG GetSize();

Parameters

This method has no parameters.

Return value

Returns the size of the buffer, in bytes.

Requirements

Header

Amfilter.h (include Streams.h)

Library

Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CMediaSample Class

 

 

Show: