Solid File System

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

StorageSearch structure

Filter:

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

SolFSStorage     See also    

Overview

This structure is used with FindFirst/FindNext methods.

Declaration

[Pascal]
    TStorageSearch = record
        SearchHandle: Handle;
        FullName: PWideChar;
        FileName: PWideChar;
        Attributes: LongWord;
        Creation: TDateTime;
        Modification: TDateTime;
        LastAccess: TDateTime;
        FileSize: Int64;
    end;

[Plain C]
    struct StorageSearchStruct {
        unsigned long SearchHandle;
        wchar_t* FullName;
        wchar_t* FileName;
        unsigned long Attributes;
        double Creation;
        double Modification;
        double LastAccess;
        unsigned long long FileSize;
    } TStorageSearch, *PStorageSearch;

[C++ (VCL)]
    struct TStorageSearch
    {
        unsigned SearchHandle;
        wchar_t *FullName;
        wchar_t *FileName;
        unsigned Attributes;
        System::TDateTime Creation;
        System::TDateTime Modification;
        System::TDateTime LastAccess;
        long long FileSize;
    };

[C++ (.NET)]
    struct StorageSearch
    {
        int SearchHandle;
        String *FullName;
        String *FileName;
        long Attributes;
        System::DateTime Creation;
        System::DateTime Modification;
        System::DateTime LastAccess;
        __int64 FileSize;
    };

[C#]
    struct StorageSearch
    {
        int SearchHandle;
        string FullName;
        string FileName;
        Int32 Attributes;
        System.DateTime Creation;
        System.DateTime Modification;
        System.DateTime LastAccess;
        long FileSize;
    };

[VB.NET]
    Public Structure StorageSearch
    
        SearchHandle As Integer
        FullName As String
        FileName As String
        Attributes As Integer
        Creation As Date
        Modification As Date
        LastAccess As Date
        FileSize As Long
    ;

[Java]
    public class SolFSStorageSearch
    {
        long Handle;
        String FullName;
        String FileName;
        long Attributes;
        double Creation;
        double Modification;
        double LastAccess;
        long FileSize;
    };

Fields

  • Attributes - contains file/folder attributes. Currently only File and Directory attributes are defined. Values:
  • Creation - contains date and time of file creation.
  • FileName - contains the name of the file or folder.
  • FileSize - contains the size of the file.
  • FullName - contains the full path with own name of the file or folder.
  • LastAccess - contains time of last file access. Last access time is tracked only when UseAccessTime property is set to true.
  • Modification - contains time of last file modification.
  • SearchHandle - for internal use only.

Values of Attributes

Description

StorageSearch is a record (struct in C++) which contains information about a file or folder in SolFS storage.

See also

FindFirst     FindNext

Back to top