NewAlias
FSSpec * fromFile; points to an FSSpec record specifying the starting point for a relative path
fromFile represents the starting point for a relative path, to be used later in
a relative search. If you do not need relative path information in the
record, pass a fromFile value of NIL. If you want NewAlias to record relative path information, pass a pointer to a valid FSSpec record in this parameter. The two files or directories, fromFile and target , must reside on the same volume.
alias is a handle to the newly created AliasRecord. If the function fails to noErr (0) No error
allocates the storage, fills in the record, and puts a record handle in the
alias parameter. NewAlias always records the name and file or directory ID of the target, its creation date, the parent directory name and ID, and the
volume name and creation date. It also records the full pathname of the
target and a collection of other information relevant to locating the target,
verifying the target, and mounting the target's volume, if necessary. You can
request that it store relative path information as well by supplying a
description of relative path).
records) to identify files, directories, and volumes. To create an FSSpec any other applicable file system or memory management result codes.