Important: The information in this document is obsolete and should not be used for new development.
AEPutKeyPtr
You can use theAEPutKeyPtr
function to add a pointer to data, a descriptor type, and a keyword to an AE record as a keyword-specified descriptor record.
FUNCTION AEPutKeyPtr (theAERecord: AERecord; theAEKeyword: AEKeyword; typeCode: DescType; dataPtr: Ptr; dataSize: Size): OSErr;
theAERecord
- The AE record to which to add a keyword-specified
descriptor record.theAEKeyword
- The keyword that identifies the descriptor record. If the AE record already includes a descriptor record with this keyword, it is replaced.
typeCode
- The descriptor type for the keyword-specified descriptor record.
dataPtr
- A pointer to the data for the keyword-specified descriptor record.
dataSize
- The length, in bytes, of the data for the keyword-specified descriptor record.
RESULT CODES