IPersistStorageImpl::Save

This method Saves the object's properties. The ATL implementation delegates to the IPersistStreamInit interface. When Save is first called, it creates a stream named "Contents" on the specified storage. This stream is then used in later calls to Save and in calls to Load.

Syntax

HRESULT Save( IStorage* pStorage, BOOL fSameAsLoad );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

IPersistStorageImpl Overview, IPersistStorageImpl Methods, IPersistStorage::Save, IPersistStreamInitImpl, IPersistStorageImpl::SaveCompleted, IStorage