Important: The information in this document is obsolete and should not be used for new development.
Customizing Alias RecordsAn alias record contains two kinds of information: public information available to your application and private information available only to the Alias Manager. Your application can use the first field,
userType, to store its own signature or any other data that fits into 4 bytes. Your application can use the second field,
aliasSize, to customize the alias record for storing additional data.
The Alias Manager stores, in the
aliasSizefield, the size of the record at the time it is created or updated. To customize an alias record, you first use the Memory Manager's
SetHandleSizeprocedure to increase the size of the record. You can then find the starting address of your own data in the record by adding the record's starting address to the length recorded in the
aliasSizefield. If you use the Memory Manager to expand the record, the Alias Manager preserves your data, even if it changes the size of its own data when updating the record.
- In general, you should customize only alias records that you