Solid File System

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

SolFSStorage.GetFileLastAccessTime method

Filter:

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

SolFSStorage     See also    

Overview

Returns time of last access to the file.

Declaration

[Pascal]
    function GetFileLastAccessTime(const FileName: TSolFSString): TDateTime;

[Plain C]
    long _stdcall StorageGetFileLastAccessTime(unsigned long Storage, const wchar_t* FileName, double *Time);

[C++ (DLL/Lib)]
    DateTime GetFileLastAccessTime(const unsigned short * FileName);

[C++ (VCL)]
    TDateTime __fastcall GetFileLastAccessTime(const TSolFSString FileName);

[C++ (.NET)]
    System::DateTime GetFileLastAccessTime(String* fileName)

[C#]
    System.DateTime GetFileLastAccessTime(string fileName)

[VB.NET]
    Function GetFileLastAccessTime(string fileName) As DateTime

[Java]
    Date getFileLastAccessTime(String fileName)

Parameters

  • FileName - the full file name in the SolFSStorage.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Time - returns time of the last access to the file.

Return value

    Time of the last access to the file.

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Description

Use GetFileLastAccess to determine time of last access to the file. SolFS Engine (DLL) operates with UTC time. Wrapper classes operate with system local time.

See also

SetFileLastAccessTime

Back to top