Carbon


AliasRecord

Header: Aliases.h

Defines an alias record. The Alias Manager uses alias records to store information that allows it to locate an object in the file system.

struct AliasRecord {
    OSType userType; 
    UInt16 aliasSize;
};
typedef AliasRecord AliasPtr;

Field descriptions

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 the last two fields is a variable-length block of data maintained privately by the Alias Manager.


© 2000 Apple Computer, Inc. — (Last Updated 4/4/2000)