ExpandUNCFileName function
Expand a relative filename to an absolute UNC filename.
Declaration
function ExpandUNCFileName(const FileName: UnicodeString)
: UnicodeStringDescription
ExpandUNCFileName runs
ExpandFileName on
FileName
and then attempts to replace the drive letter by the name of a shared disk.
Errors
If an unexpected error occurs while determining the name of the shared disk, an empty string is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
