System.Classes.TStreamAdapter.Commit
Delphi
function Commit(grfCommitFlags: DWORD): HResult; virtual; stdcall;
C++
virtual HRESULT __stdcall Commit(unsigned grfCommitFlags);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStreamAdapter |
Description
Implements the IStream Commit method.
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.