Function

AEDeleteParam

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

Declaration

OSErr AEDeleteParam(AppleEvent *theAppleEvent, AEKeyword theAEKeyword);

Parameters

theAppleEvent

A pointer to the Apple event or Apple event record to delete the parameter from. See AppleEvent.

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.

Discussion

Thread safe starting in OS X v10.2.

See Also

Deleting Descriptors

AEDeleteItem

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

AEDeleteKeyDesc

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