CeUnmountDBVol

This function unmounts a database volume. A remote application interface (RAPI) version of this function exists, and it is also called CeUnmountDBVol.

At a Glance

Header file: Windbase.h
Windows CE versions: 2.10 and later

Syntax

BOOL CeUnmountDBVol ( PCEGUID pceguid );

Parameters

pceguid

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

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

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.

See Also

CeMountDBVol