AEDeleteKeyDesc

Deletes a keyword-specified parameter from an Apple event record.

Declaration

OSErr AEDeleteKeyDesc (
   AERecord *theAERecord,
   AEKeyword theAEKeyword
);

Parameters

theAERecord

A pointer to the Apple event record to delete the parameter from.

theAEKeyword

The keyword that specifies the parameter to delete. Some keyword constants are described in Keyword Parameter Constants. See AEKeyword.

Return Value

A result code. See Result Codes.

Overview

This function is declared as a macro that invokes AEDeleteParam, which can operate on an Apple event or an Apple event record. See the Discussion for that function for more information.

Version-Notes

See Also

Deleting Descriptors

AEDeleteItem

Deletes a descriptor from a descriptor list, causing all subsequent descriptors to move up one place.

AEDeleteParam

Deletes a keyword-specified parameter from an Apple event record.