Solid File System

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

SolFSStorage.ResolveLink method

Filter:

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

SolFSStorage     See also    

Overview

Returns destination name, referred to by symbolic link, in absolute format, suitable for file access.

Declaration

[Pascal]
    procedure ResolveLink(LinkName: TSolFSString; var DestinationName: TSolFSString);

[Plain C]
    long _stdcall StorageResolveLink(unsigned long Storage, const wchar_t* LinkName, const wchar_t* *DestinationBuffer, LongWord *DestinationBufferSize);

[C++ (DLL/Lib)]
    void ResolveLink(unsigned char * LinkName, unsigned char **DestinationName);

[C++ (VCL)]
    void __fastcall ResolveLink(TSolFSString LinkName, TSolFSString &DestinationName);

[C++ (.NET)]
    void ResolveLink(String* LinkName, String* *DestinationName)

[C#]
    void ResolveLink(string LinkName, ref string DestinationName)

[VB.NET]
    Sub ResolveLink(ByVal LinkName As String, ByRef DestinationName As String)

[Java]
    String resolveLink(String linkName)

Parameters

  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] DestinationBuffer - The buffer to place destination file name.
  • [Plain C] DestinationBufferSize - The size of the passed buffer.
  • LinkName - symbolic link name (full path must be specified).
  • DestinationName - destination file name.

[Plain C]  Return values

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

Description

Use ResolveLink function to get a destination file referred to by symbolic link, in absolute format.

See also

Link     GetLinkDestination    

Back to top