Project: Stream Extension Classes
Unit: PJIStreams
Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream
Applies to: ~>3.0
function Commit(grfCommitFlags: Longint): HResult; virtual; stdcall;
Does nothing.
In theory, this method commits any changes made to a stream opened in transacted mode. In direct mode it should simply flush any memory buffers into the underlying storage object.
Since wrapped streams do not support transacted mode and TPJIStreamWrapper maintains no data buffers, this method does nothing in this implementation.
Parameters:
- grfCommitFlags -- Flags from the STGC specify how the changes are committed. All flags are ignored in this implementation.
Returns:
- S_OK on all occasions.