![]() |
AEPutParamPtr |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Puts a pointer to data, a descriptor type, and a keyword into an Apple event or AE record as an Apple event parameter.
OSErr AEPutParamPtr ( AppleEvent *theAppleEvent, AEKeyword theAEKeyword, DescType typeCode, const void *dataPtr, Size dataSize );
A pointer to the Apple event to add a parameter to.
The keyword for the parameter to add. If the Apple event already includes an parameter with this keyword, the parameter is replaced.
Some keyword constants are described in
The descriptor type for the parameter to add. For a list of AppleScripts predefined descriptor types, see
A pointer to the data for the parameter to add.
The length, in bytes, of the data for the parameter to add.
A result code.
Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. (Last Updated 5/8/2000)