Writing and Creating a Record (Windows Embedded CE 6.0)
1/6/2010
Use the CeWriteRecordProps (CEDB) function to write to a record. Like the CeReadRecordPropsEx (CEDB) function, CeWriteRecordProps uses an array of CEPROPVAL (CEDB) structures to pass property information into the record. To create a new record, call CeWriteRecordProps with the oidRecord parameter set to zero.
When writing to a mounted volume, Windows Embedded CE caches all write operations. The database subsystem periodically requests a cache flush after a series of operations. If memory is low, Windows Embedded CE flushes the cache to permanent storage. Windows Embedded CE cannot flush only part of the cache. All database blocks are flushed.