Function

FSFollowFinderAlias

Resolves an alias record obtained from a Finder alias file.

Declaration

OSErr FSFollowFinderAlias(FSRef *fromFile, AliasHandle alias, Boolean logon, FSRef *target, Boolean *wasChanged);

Parameters

fromFile

A pointer to the file to use for a first attempt at a relative resolution; pass a pointer to the alias file's FSRef for this parameter.

alias

A handle to the alias record taken from the alias file's resources.

logon

If true, the Alias Manager attempts to mount a volume if necessary to complete the resolution of the alias.

target

A pointer to an FSRef structure. On return, this FSRef refers to the target found by the resolution.

wasChanged

A pointer to a Boolean value. FSFollowFinderAlias sets this value to true if it has updated the alias record.

Return Value

A result code.

See Also

Working With Finder Alias Files

FSIsAliasFile

Determines whether a file system object is an alias file, a data file, or a folder.

Deprecated
FSResolveAliasFile

Resolves an alias contained in an alias file.

Deprecated
FSResolveAliasFileWithMountFlags

Resolves an alias contained in an alias file.

Deprecated