IStream::Revert
Discards all
changes that have been made to a transacted stream since the last IStream::Commit
HRESULT
Revert(void);
Return Values
S_OK
The stream
was successfully reverted to its previous version.
E_PENDING
Asynchronous
Storage only: Part or all of the stream s
data is currently unavailable. For more information see IFillLockBytes
Remarks
This method
discards changes made to a transacted stream since the last commit operation.
See Also
IStream
- Compound File Implementation, IStream::Commit