Share via


IPersistStorageImpl::Save

Saves the object's properties to the specified storage.

STDMETHOD(Save)( 
   IStorage* pStorage, 
   BOOL fSameAsLoad  
);

Remarks

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.

See IPersistStorage:Save in the Windows SDK.

Requirements

Header: atlcom.h

See Also

Reference

IPersistStorageImpl Class

IPersistStorageImpl::SaveCompleted

IStorage

Other Resources

IPersistStorageImpl Members