IStream::Revert
This method discards all changes that have been made to a transacted stream since the last IStream::Commit call. This method has no effect on streams open in direct mode and streams using the OLE compound file implementation of IStream::Revert.
HRESULT Revert( void );
Return Values
One of the values described in the following table is returned.
Value | Description |
---|---|
S_OK | The stream was successfully reverted to its previous version. |
E_PENDING | Asynchronous Storage only: Part or all of the streams data is currently unavailable. |
Remarks
This method discards changes made to a transacted stream since the last commit operation.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | Objidl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.