Solid File System

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

SolFSStorage.SetFileModificationTime method


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

SolFSStorage     See also    


Sets the time of last modification of the file.


    procedure SetFileModificationTime(const FileName: TSolFSString; Value: TDateTime);

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

[C++ (DLL/Lib)]
    void SetFileModificationTime(const unsigned short * FileName, DateTime Value);

[C++ (VCL)]
    void __fastcall SetFileModificationTime(const TSolFSString FileName, TDateTime Value);

[C++ (.NET)]
    void SetFileModificationTime(String* fileName, System::DateTime Value)

    void SetFileModificationTime(string fileName, System.DateTime Value)

    Sub SetFileModificationTime(fileName As String, Value As DateTime)

    void setFileModificationTime( String fileName, Date value)


  • FileName - the full file name in the SolFSStorage.
  • Value - use this parameter to set new time of file modification.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

[Plain C]  Return values

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


Use SetFileModificationTime set time of last modifiction of the file. SolFS Engine (DLL) operates with UTC time. Wrapper classes operate with system local time.

See also


Back to top