System.SysUtils.TSymLinkRec

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TSymLinkRec = record
  private
    function GetTimeStamp: TDateTime;
  public
    TargetName: TFileName;
    Attr: Integer;
    Size: Int64;
{$IFDEF MSWINDOWS}
    FindData: TWin32FindData platform;
{$ENDIF MSWINDOWS}
{$IFDEF POSIX}
    Time: time_t platform;
    Mode: mode_t platform;
    PathOnly: string platform;
{$ENDIF POSIX}
    property TimeStamp: TDateTime read GetTimeStamp;
  end;

C++

struct DECLSPEC_DRECORD TSymLinkRec
{
private:
    System::TDateTime __fastcall GetTimeStamp(void);
public:
    TFileName TargetName;
    int Attr;
    __int64 Size;
    _WIN32_FIND_DATAW FindData;
    __property System::TDateTime TimeStamp = {read=GetTimeStamp};
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

TSymLinkRec is used to store information about symbolic link files.

TSymLinkRec defines a data structure used to store information about symbolic link files. Symlink stands for symbolic link file, which is a special type of file containing a reference to another file or directory in the form of an absolute or relative path.

Note: The implementation of symbolic links on Windows and MAC OS is different.

Note: Microsoft added support for symbolic link files starting with Windows Vista.


See Also