ConvertNameToReal

The FSF.ConvertNameToReal function converts a relative name of a file object to its full pathname and expands symbolic links (Windows 2000 reparse points).
int WINAPI ConvertNameToReal(
  const char *Src,
  char *Dest,
  int DestSize
);

Parameters

Src
Source string - a full or relative name of a file or a directory.
Dest
Destination string - the expanded pathname will be stored here. Can be NULL.
DestSize
Length of the destination string. If Dest=NULL, DestSize is ignored.

Return value

The actual size needed to store the expanded pathname in Dest.

Remarks

  1. The function correctly determines the real pathname only under Windows 2000 or later. Under earlier operating systems, it is not possible to determine the real name of a symbolic link if one is encountered in the path.
  2. Parameters Src and Dest can point to the same string.

Example