IMediaSample::GetSize method

The GetSize method retrieves the size of the buffer.

Syntax


long GetSize();

Parameters

This method has no parameters.

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]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMediaSample Interface
ALLOCATOR_PROPERTIES

 

 

Show: