IPersistStreamInit::GetSizeMax Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This method should return the maximum size, in bytes, required in the stream to save the data to be persisted.

HRESULT GetSizeMax(
    ULARGE_INTEGER* pCbSize
);

Parameters

  • pCbSize
    [out] The address of a ULARGE_INTEGER used to return the number of bytes the object needs in the stream to save values.

Return Value

This method must return the HRESULT value S_OK to indicate success, and should generally return one of the standard COM error values to indicate failure.

See Also

Other Resources

IPersistStreamInit Interface