Solid File System

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

SolFSStorage.DestroyOnProcessTerminated property (OS edition, Windows platform)

Filter:

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

SolFSStorage     See also    

Overview

OPERATING SYSTEM EDITION FOR WINDOWS
Specifies whether the storage should be destroyed if the user-mode process was terminated.

APPLICATION EDITION
Not applicable

Declaration

[Pascal]
    property DestroyOnProcessTerminated: Boolean;

[Plain C]
    long _stdcall StorageGetDestroyOnProcessTerminated(unsigned long Storage, char *Value);     long _stdcall StorageSetDestroyOnProcessTerminated(unsigned long Storage, char Value);

[C++ (DLL/Lib)]
    bool get_DestroyOnProcessTerminated()
    void set_DestroyOnProcessTerminated(bool Value)

[C++ (VCL)]
    __property bool DestroyOnProcessTerminated={ nodefault }

[C++ (.NET)]
    bool get_DestroyOnProcessTerminated()
    void set_DestroyOnProcessTerminated(bool Value)

[C#]
    bool DestroyOnProcessTerminated

[VB.NET]
    Property DestroyOnProcessTerminated As Boolean

[Java]
    not applicable;

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Value - specifies whether the storage information is destroyed if the user-mode process dies.

[Plain C]  Return values

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

Description

Use this property to specif whether the driver should destroy the handles and other resources, associated with the storage, if the user-mode process is terminated. If the storage is not destroyed, it can be re-opened using Reopen() method when the application is restarted after crash.
This method makes sense mainly for storages opened in callback mode, where crash of the user-mode process means "removal of media".

See also

Reopen    

Back to top