Share via


IRAPISession::CeUnmountDBVol

Send Feedback

This method 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 IRAPISession::CeGetLastError and IRAPISession::CeRapiGetError.

Remarks

All cached data is flushed to permanent storage when this method is called. A single database volume can be mounted more than once by different applications. 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 IRAPISession::CeUnmountDBVol.

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Rapi2.h.
Link Library: Ole32.lib, Rapiuuid.lib

See Also

IRAPISession::IUnknown | IRAPISession::CeMountDBVol | IRAPISession::CeOpenDatabaseEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.