Carbon


AEPutParamDesc

Header: AEDataModel.h Carbon status: Supported

Puts a descriptor record and a keyword into an Apple event or AE record as an Apple event parameter.

OSErr AEPutParamDesc (
    AppleEvent *theAppleEvent, 
    AEKeyword theAEKeyword, 
    const AEDesc *theAEDesc
);
Parameter descriptions
theAppleEvent

A pointer to the Apple event to add a parameter to.

theAEKeyword

The keyword specifying the parameter to add. If the Apple event already has a parameter with this keyword, the parameter is replaced.

Some keyword constants are described in “Keyword Parameter Constants”.

theAEDesc

A pointer to the descriptor record for the parameter to add.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)