Microsoft SDK for Java

Commit

This method of the IStream Interface ensures that any changes made to a stream object opened in transacted mode are reflected in the parent storage object.

Syntax

public void Commit(int grfCommitFlags);

Parameters

grfCommitFlags Flags that indicate conditions for the commit operation; the value must be STGC_DEFAULT or some combination of the following: STGC_OVERWRITE, STGC_ONLYIFCURRENT, and STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.