Important: The information in this document is obsolete and should not be used for new development.
AEPutDesc
You can use theAEPutDescfunction to add a descriptor record to any descriptor list.
FUNCTION AEPutDesc (theAEDescList: AEDescList; index: LongInt; theAEDesc: AEDesc): OSErr;
theAEDescList- The descriptor list to which to add a descriptor record.
index- The position of the descriptor record in the descriptor list. (For example, the value 2 specifies the second descriptor record in the list.) If there is already a descriptor record in the specified position, it is replaced. If the value of
indexis 0, the descriptor record is added to the end of the list.theAEDesc- The descriptor record to be added to the list.
RESULT CODES