CeUnmountDBVol (RAPI)

Windows Mobile 6.5
A version of this page is also available for

This function unmounts a database volume on a remote Windows Embedded CE–based device.

BOOL CeUnmountDBVol( 
  PCEGUID pceguid 


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

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

All cached data is flushed to permanent storage. A single database volume can be mounted more then once by a different application. Each time the volume is mounted a reference count is incremented. A mounted database volume does not unmount until all applications that mounted the volume call CeUnmountDBVol.

Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions