Retrieves the size of the stream needed to save the object.
HRESULT GetSizeMax( ULARGE_INTEGER *pcbSize );
The size in bytes of the stream needed to save this object, in bytes.
This method returns S_OK to indicate that the size was retrieved successfully.
This method returns the size needed to save an object. You can call this method to determine the size and set the necessary buffers before calling the IPersistStream::Save method.IPersistStream::Save method with a non-growable stream. IPersistStream::Save. This value is sizeof(ULONG)==4 plus sizeof(WCHAR)*n where n is the length of the full or partial URL string, including the NULL terminator.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|