Function

FSNewAliasMinimal

Creates a new minimal alias record, given a target file or directory.

Declaration

OSErr FSNewAliasMinimal(const FSRef *target, AliasHandle *inAlias);

Parameters

target

A pointer to the target of the alias record.

inAlias

A pointer to an alias handle. On return, this handle refers to the newly created alias record. If the function fails to create an alias record, it sets inAlias to NULL.

Return Value

A result code. If the specified target is valid, this function creates an alias record for the target and returns noErr. Any other return value indicates that this function did not create an alias record.

Discussion

The FSNewAliasMinimal function creates an alias record that contains only the minimum information necessary to describe the target. The FSNewAliasMinimal function uses the standard alias record data structure, but it fills in only parts of the record.

The FSResolveAlias function never updates a minimal alias record.

See Also

Creating and Updating Alias Records

FSNewAlias

Creates a new alias record, given a target file or directory.

Deprecated
FSNewAliasUnicode

Creates a new alias record, given the Unicode name and parent directory of the target.

Deprecated
FSNewAliasFromPath

Creates a new alias record, given the pathname of the target file or directory.

Deprecated
FSNewAliasMinimalUnicode

Creates a minimal alias, given the Unicode name and parent directory of the target.

Deprecated
FSUpdateAlias

Updates an alias record for a specified target.

Deprecated