Discards all changes that have been made to a transacted stream since the last IStream::Commit call. On streams open in direct mode and streams using the OLE compound file implementation of IStream::Revert, this method has no effect.
HRESULT Revert(void);
Return Values
Remarks
This method discards changes made to a transacted stream since the last commit operation.
See Also
IStream - Compound File Implementation, IStream::Commit