Solid File System

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

SolFSStorage.ResolveLink method


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

SolFSStorage     See also    


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


    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)

    void ResolveLink(string LinkName, ref string DestinationName)

    Sub ResolveLink(ByVal LinkName As String, ByRef DestinationName As String)

    String resolveLink(String linkName)


  • [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.


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

See also

Link     GetLinkDestination    

Back to top