IRAPISession::CeUnmountDBVol

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method unmounts a database volume on a remote Windows Embedded CEā€“based device.

Syntax

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 Value

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

Header rapi2.h
Library ole32.lib, rapiuuid.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IRAPISession
IRAPISession::CeMountDBVol
IRAPISession::CeOpenDatabaseEx