Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

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: