The CeDeleteDatabase function removes a database from the object store. A RAPI version of this function exists and is also called CeDeleteDatabase.
BOOL CeDeleteDatabase(CEOID oidDbase);
Header file: | Winbase.h |
Component: | fsdbase |
Platforms: | H/PC |
Windows CE versions: | 1.01 and later |
If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information when within a CE program call GetLastError. If within a RAPI program, call CeGetLastError. GetLastError and CeGetLastError may return one of the following values:
The CeDeleteDatabase function deletes a database, including all records in the database.
For more information, see Accessing Persistent Storage.
When writing applications for Windows CE version 1.0, use the PegDeleteDatabase function.