次の方法で共有


CPersistStream::SizeMax (Compact 2013)

3/26/2014

This method 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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CPersistStream Class