Discards all changes that have been made to a transacted stream since the last IStream::Commit call. For streams open in direct mode and streams using the OLE implementation of IStream::Revert, this method has no effect.

HRESULT Revert(void);

Return Values


The stream was successfully reverted to its previous version.


The object has been invalidated by a revert operation above it in the transaction tree.


This method discards changes made to a transacted stream since the last commit operation.

The OLE-provided implementation does not support transacted streams, and this method has no effect in that implementation.

See Also


Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database