This method of the IStorage interface discards all changes that have been made to the storage object since the last commit.
public void Revert();
S_OK -- The revert operation was successful.
E_PENDING -- Asynchronous storage only: Part or all the storage's data is currently unavailable.
STG_E_INSUFFICIENTMEMORY -- The revert operation could not be completed due to a lack of memory.
STG_E_TOOMANYOPENFILES -- The revert operation could not be completed because there are too many open files.
STG_E_REVERTED -- The storage object has been invalidated by a revert operation above it in the transaction tree.