![]() |
AESizeOfAttribute |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Gets the size and descriptor type of an Apple event attribute from a record of type AppleEvent.
OSErr AESizeOfAttribute ( const AppleEvent *theAppleEvent, AEKeyword theAEKeyword, DescType *typeCode, Size *dataSize );
A pointer to the Apple event to get the attribute data from.
The keyword that specifies the attribute. Some keyword constants are described in
A pointer to a descriptor type. On return, specifies the descriptor type of the attribute. For a list of AppleScripts predefined descriptor types, see
A pointer to a size variable. On return, the length, in bytes, of the data in the attribute.
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)