NewAliasMinimal
NewAliasMinimal Create a short AliasRecord quickly
#include <Aliases.h> Alias Manager
OSErr NewAliasMinimal( target, alias);
FSSpec * target; points to the target of the AliasRecord
AliasHandle *alias ; a handle to the new AliasRecord
returns Error Code; 0=no error
You use the NewAliasMinimal function to create a short AliasRecord
quickly.
target is an FSSpec record for the target of the AliasRecord
alias is a handle to the newly created AliasRecord. If the function fails to
create an AliasRecord, it sets alias to NIL
Returns: an operating system Error Code.
noErr (0) No error

Notes: NewAliasMinimal creates an AliasRecord that contains only the
minimum information necessary to describe the target: the target name, the
parent directory ID, the volume name and creation date, and the volume
mounting information. NewAliasMinimal uses the standard AliasRecord
data structure, but fills in only parts of the record.
Alias Manager routines use file system specification records (FSSpec
records) to identify files, directories, and volumes. To create an FSSpec
record, call the function FSMakeFSSpec , described in the
File Manager.
The Alias Manager routines can return the result codes listed here--or
any other applicable file system or memory management result codes.
The ResolveAlias function never updates a minimal AliasRecord.