SolFSStorage.SetFileCreationTime method


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

SolFSStorage     See also    


Sets the value of the file creation time.


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

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

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

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

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

    void SetFileCreationTime(string fileName, System.DateTime Value)

    SetFileCreationTime(fileName As String, Value As DateTime)

    void setFileCreationTime( String fileName, Date value)


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


Use SetFileCreationTime to modify time of file creation. CBFS Storage operates with UTC time. Wrapper classes operate with system local time.

[Plain C]  Return values

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

See also