CeUnmountDBVol (RAPI) (Windows CE 5.0)

Send Feedback

This function unmounts a database volume.

CeUnmountDBVol is a remote application interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

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 (RAPI).

It is not necessary to call CeUnmountDBVol on the object store. The object store cannot be unmounted. You can treat it as a special database volume that is always mounted.

Requirements

OS Versions: Windows CE 2.12 and later.
Header: Rapi.h.
Link Library: Rapi.lib.

See Also

RAPI Functions | CeMountDBVol (RAPI)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.