AEDeleteKeyDesc
AEDeleteKeyDesc Delete keyword-specified descriptor list from AE record
#include <AppleEvents.h> Apple Event Manager
OSErr AEDeleteKeyDesc( theAERecord, theAEKeyword );
AERecord * theAERecord ; AE record containing descriptor record
to be deleted
AEKeyword theAEKeyword ; Apple Event keyword
returns Error Code; 0 = no error
The AEDeleteKeyDesc function deletes a
keyword-specified descriptor record from an AE record.
The parameter theAERecord is the AE record containing the keyword- specified
descriptor record to be deleted.
The parameter theAEKeyword is 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