IPersistStreamInit::GetSizeMax

Same as IPersistStream::GetSizeMax.

HRESULT GetSizeMax(
  ULARGE_INTEGER* pcbSize  //Receives a pointer to the size of the 
                           //stream needed to save object
);
 

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.