IRootStorage interface (objidl.h)
The IRootStorage interface contains a single method that switches a storage object to a different underlying file and saves the storage object to that file. The save operation occurs even with low-memory conditions and uncommitted changes to the storage object. A subsequent call to IStorage::Commit is guaranteed to not consume additional memory.
The IRootStorage interface inherits from the IUnknown interface. IRootStorage also has these types of members:
The IRootStorage interface has these methods.
The SwitchToFile method copies the current file associated with the storage object to a new file.
|Minimum supported client||Windows 2000 Professional [desktop apps | UWP apps]|
|Minimum supported server||Windows 2000 Server [desktop apps | UWP apps]|