IStorage
The Commit method ensures that any changes made to a storage object open in transacted mode are reflected in the parent storage.
public HRESULT CopyTo(uint ciidExclude, Guid* rgiidExclude, UInt16** snbExclude, IStorage* pstgDest)
Copies the entire contents of an open storage object to another storage object.
public HRESULT CreateStorage(PCWSTR pwcsName, STGM grfMode, uint reserved1, uint reserved2, IStorage** ppstg)
public HRESULT CreateStream(PCWSTR pwcsName, STGM grfMode, uint reserved1, uint reserved2, IStream** ppstm)
Creates and opens a stream object with the specified name contained in this storage object.
The EnumElements method retrieves a pointer to an enumerator object that can be used to enumerate the storage and stream objects contained within this storage object.
public HRESULT MoveElementTo(PCWSTR pwcsName, IStorage* pstgDest, PCWSTR pwcsNewName, uint grfFlags)
The MoveElementTo method copies or moves a substorage or stream from this storage object to another storage object.
public HRESULT OpenStorage(PCWSTR pwcsName, IStorage* pstgPriority, STGM grfMode, UInt16** snbExclude, uint reserved, IStorage** ppstg)
Opens an existing storage object with the specified name in the specified access mode.
public HRESULT OpenStream(PCWSTR pwcsName, Void* reserved1, STGM grfMode, uint reserved2, IStream** ppstm)
Opens an existing stream object within this storage object in the specified access mode.
The RenameElement method renames the specified substorage or stream in this storage object.
The Revert method discards all changes that have been made to the storage object since the last commit operation.
The SetClass method assigns the specified class identifier (CLSID) to this storage object.
public HRESULT SetElementTimes(PCWSTR pwcsName, FILETIME* pctime, FILETIME* patime, FILETIME* pmtime)
The SetElementTimes method sets the modification, access, and creation times of the specified storage element, if the underlying file system supports this method.
The SetStateBits method stores up to 32 bits of state information in this storage object.
The Stat method retrieves the STATSTG structure for this open storage object.