ExpandUNCFileNameUTF8 function
Expands the specified UTF-8-encoded UNC file name to an absolute UNC file name.
Declaration
function ExpandUNCFileNameUTF8(const FileName: string): stringArguments
FileName | File name expanded in the routine. |
Function result
The expanded file name.
Description
ExpandUNCFileNameUTF8 is a
String function used to
expand the UNC file name in the
FileName argument to an absolute
UNC file name. It is the UTF-8-enabled equivalent of the ExpandUNCFileName
routine from the FPC RTL.
ExpandUNCFileNameUTF8 calls the ExpandUNCFileName routine in RTL to get the return value for the method. Drive letters which are mapped to shared disks are replaced with the UNC device name for the mapped drive. The return value is an empty string ('') if an error occurs in ExpandUNCFileName.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
