RAD Studio VCL Reference
TStreamAdapter.Revert Method

Implements the IStream Revert method.

function Revert: HResult; virtual; stdcall;
virtual __fastcall __stdcall HRESULT Revert();

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!