Commit method

Project: Stream Extension Classes

Unit: PJIStreams

Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream

Applies to: ~>3.0

function Commit(grfCommitFlags: Longint): HResult; virtual; stdcall;

Description

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:

Returns: