Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CeFlushDBVol (RAPI)

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function flushes data written to a database volume on a remote Windows Embedded CE–based device to permanent storage.


BOOL CeFlushDBVol(
  PCEGUID pceguid 
);

pceguid

[in] Pointer to the CEGUID that contains the globally unique identifier (GUID)of a mounted volume to be flushed.

Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.

In a mounted database volume, all write operations are cached. To explicitly force the data to be written out to permanent storage, the CeFlushDBVol method must be called. If a reset or power failure occurs before data is flushed from the cache, then the data that has not been flushed is lost. The database engine periodically flushes the database volume when enough data has been changed and when it is unmounted, but an application that must ensure that its data is saved should call CeFlushDBVol

Headerrapi.h
Libraryrapi.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later, Smartphone 2002 and later

Community Additions

Show:
© 2015 Microsoft