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.
A version of this page is also available for
This function deletes an existing file from the object store on a remote Windows Embedded CE–based device.
[in] Long pointer to a null-terminated string that specifies the file to be deleted.
Nonzero indicates success. Zero indicates failure. To get extended error information, call
CeGetLastError and CeRapiGetError.
If an application attempts to delete a file that does not exist, the
CeDeleteFile function fails. The CeDeleteFile function fails if an application attempts to delete a file that is open for normal I/O or as a memory-mapped file.
CeRemoveDirectory function to delete a directory.
To close an open file handle, use the
To disconnect a database volume, use the
Header rapi.h Library rapi.lib Windows Embedded CE Windows CE 3.0 and later Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later