IStream::Revert (Compact 2013)
3/26/2014
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.
Syntax
HRESULT Revert(void);
Parameters
None.
Return Value
The following table shows the return values for this method.
Value |
Description |
---|---|
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. |
Remarks
This method discards changes made to a transacted stream since the last commit operation.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Header |
objidl.h, |
Library |
ole32.lib, |