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.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT Save( IStorage* pStorage, BOOL fSameAsLoad );

See Also

IPersistStreamInitImpl, IPersistStorageImpl::SaveCompleted