GetSizeMax method
Returns the size, in bytes, of the stream required to save the object.
Syntax
HRESULT retVal = object.GetSizeMax(pCbSize);
Parameters
pCbSize [out]
Type: unsigned longThe address of an unsigned integer value indicating the size, in bytes, of the stream required to save the object.