![]() |
AEPutAttributePtr |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Adds a pointer to data, a descriptor type, and a keyword to an Apple event as an attribute.
OSErr AEPutAttributePtr ( AppleEvent *theAppleEvent, AEKeyword theAEKeyword, DescType typeCode, const void *dataPtr, Size dataSize );
A pointer to the Apple event to add an attribute to.
The keyword for the attribute to add. If the Apple event already includes an attribute with this keyword, the attribute is replaced.
Some keyword constants are described in
The descriptor type for the attribute to add. For a list of AppleScripts predefined descriptor types, see
A pointer to the data for the attribute to add.
The length, in bytes, of the data for the attribute 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)