The CPackage::Flush function writes the
contents of the specified package to the disk.
BOOL Flush();
Parameters
None.
Return Values
If the function succeeds, the return value is non-zero.
If the function fails, the return value is zero. To get
extended error information, call GetLastError.
Remarks
The CPackage::Flush function can be used
to explicitly flush the contents of a modified package to disk. Normally, the package
contents are cached in memory and written to disk when the package file is closed.
Requirements
Windows NT/2000/XP: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Include apatch.h.
Library: Use apatch32.lib.
See Also
CPackage::Close, CPackage::Open, CPackage::Update
|