System.Classes.TStreamAdapter.Revert
Delphi
function Revert: HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall Revert(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamAdapter |
Description
Implements the IStream Revert method.
The Revert method defined by IStream rolls back any changes written to a stream that is participating in a transaction.
TStreamAdapter does not implement any transaction support, but operates in direct mode. Because of this, Revert returns STG_E_REVERTED, but does nothing else.