AEDeleteKeyDesc
You can use the AEDeleteKeyDesc function to delete a keyword-specified descriptor record from an AE record.
FUNCTION AEDeleteKeyDesc (theAERecord: AERecord;
theAEKeyword: AEKeyword): OSErr;
theAERecord
- The AE record containing the keyword-specified descriptor record to be deleted.
theAEKeyword
- The keyword that specifies the descriptor record to be deleted.
RESULT CODES
| noErr | 0 | No error |
| errAEDescNotFound | -1701 | Descriptor record was not found |
| errAENotAEDesc | -1704 | Not a valid descriptor record |
| errAEBadListItem | -1705 | Operation involving a list item failed |