RAD Studio VCL Reference
TStreamAdapter.Commit Method

Implements the IStream Commit method.

function Commit(grfCommitFlags: Longint): HResult; virtual; stdcall;
virtual __fastcall __stdcall HRESULT Commit(Longint grfCommitFlags);

The Commit method defined by IStream commits 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, Commit returns S_OK to indicate that all changes are already written, but does nothing else. 


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