Previous Book Contents Book Index Next

Inside Macintosh: Interapplication Communication /
Chapter 4 - Responding to Apple Events / Reference to Responding to Apple Events
Routines for Responding to Apple Events / Deleting Descriptor Records


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
noErr0No error
errAEDescNotFound-1701Descriptor record was not found
errAENotAEDesc-1704Not a valid descriptor record
errAEBadListItem-1705Operation involving a list item failed

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996