Ensures that any internal buffers maintained by the ILockBytes implementation are written out to the underlying physical storage.
HRESULT Flush(void);
ILockBytes::Flush flushes internal buffers to the underlying storage device.
The COM-provided implementation of compound files calls this method during a transacted commit operation to provide a two-phase commit process that protects against loss of data.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in objidl.h.
IStorage::Commit, ILockBytes—File-Based Implementation, ILockBytes—Global Memory Implementation