CPersistStream::SizeMax

 
Microsoft DirectShow 9.0

CPersistStream::SizeMax

Retrieves the maximum byte size needed for the current stream, not including the version number.

Syntax

  virtual int SizeMax(void);

Return Value

Returns the number of bytes needed for data, not including the version number.

Remarks

The default version returns zero; it should be overridden to provide some other appropriate value.

Requirements

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

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

See Also