Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Files /
Chapter 4 - Alias Manager / Alias Manager Reference
Data Structures


Alias Records

Alias records are defined by the AliasRecord data type.

TYPE AliasRecord  =
RECORD
   userType:   OSType;        {application's signature}
   aliasSize:  Integer;       {size of record when created}
   {variable-length private data}
END;
Field Description
userType
A 4-byte field that can contain application-specific data. When an alias record is created, this field contains 0. Your application can use this field for its own purposes. Typically you should store your application's signature here.
aliasSize
The size, in bytes, assigned to the alias record at the time of its creation or updating. This is the total size of the record, including the userType and aliasSize fields, as well as the variable-length data that is private to the Alias Manager.
Following these two fields is a variable-length block of data maintained privately by the Alias Manager.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996