Microsoft DirectX 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.

See Also