IMediaSample::GetSize method (strmif.h)

The GetSize method retrieves the size of the buffer.

Syntax

long GetSize();

Return value

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

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)
Library Strmiids.lib

See also

ALLOCATOR_PROPERTIES

Error and Success Codes

IMediaSample Interface