![]() |
AESizeOfParam |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Gets the size and descriptor type of an Apple event parameter from a record of type AERecord or AppleEvent.
OSErr AESizeOfParam ( const AppleEvent *theAppleEvent, AEKeyword theAEKeyword, DescType *typeCode, Size *dataSize );
A pointer to the Apple event to get the parameter data from.
The keyword that specifies the desired parameter. Some keyword parameter constants are described in
A pointer to a descriptor type. On return, specifies the descriptor type of the Apple event parameter. 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 Apple event parameter.
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)