IPersistStreamInit::GetSizeMax

Same as IPersistStream::GetSizeMax.

HRESULT GetSizeMax(

ULARGE_INTEGER* pcbSize

//Receives a pointer to the size of the stream needed to save object

);