Creates a new alias record, given the Unicode name and parent directory of the target.
- macOS 10.2–10.8Deprecated
- Core Services
A pointer to the starting point for a relative search. You may pass
NULLif you do not need relative search information in the alias record.
A pointer to the parent directory of the target.
The number of Unicode characters in the target's name.
A pointer to the Unicode name of the target.
A pointer to an alias handle. On return, this handler refers to the newly created alias record.
A pointer to a Boolean value. On input, if the target does not exist, set the value to
trueif the target is a directory or
falseif it is not. (Pass
NULLif you are not sure whether the target is a directory.) On output, if the target exists, the value is
trueif the target is a directory,
falseif it is not.
A result code. For more information, see the Discussion.
If the specified target exists, this function creates an alias record for the target and returns
no. If the parent directory exists but the target itself does not exist, this function creates an alias record for the target and returns
fnf. Any other return value indicates that this function did not create an alias record.