Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.EjectVolume method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Ejects removable volume, formatted to SolFS.

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    procedure EjectVolume(const Force: boolean);

[Plain C]
    long _stdcall StorageEjectVolume( unsigned long Storage );

[C++ (DLL/Lib)]
    void EjectVolume(bool Force);

[C++ (VCL)]
    void EjectVolume(bool TSolFSString Force);

[C++ (.NET)]
    void EjectVolume(bool Force);

[C#]
    void EjectVolume(bool Force);

[VB.NET]
    Sub EjectVolume(ByVal Force As Boolean)

[Java]
    not applicable;

Parameters

  • Force - specifies whether the disk may/should be forcefully unmounted if it's still in use by the system or some application
  • [Plain C] Storage - handle to the opened SolFSStorage.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.

Description

If you have a removable device, formatted to SolFS, you can use this function to make it available for removal. This function is similar to "Eject" function in Explorer interface and is needed to properly close the storage.

See also

FormatVolume     IsSolFSVolume     OpenVolume

Back to top