CeUnmountDBVol (RAPI)

Send Feedback

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

BOOL CeUnmountDBVol( 
  PCEGUID pceguid 
);

Parameters

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

Return Values

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

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.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: Rapi.h
Library: Rapi.lib

See Also

Remote API Functions | CeMountDBVol

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.