virtual bool COStream::Commit(DWORD nCommitFlags=STGC_DEFAULT);

Return Value

        true if successful; otherwise false.

Parameters

        [in] nCommitFlags

                A data describing how to commit a stream of data into a disk.

Remark

        Calls this function to commit a stream of data into a permanent storage through IStream::Commit after calling COStream::PutData.

COStream Class Overview & Class Members