EldoS
 Table of Contents >  SolFSStorage.ResolveLink method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.ResolveLink method

Filter:

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

SolFSStorage     See also    

Overview

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

Declaration

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

[DLL]
    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(WideString LinkName, WideString &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)

Parameters

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

[DLL]  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    

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation