![]() |
AESizeOfNthItem |
||||
Header: | AEDataModel.h | Carbon status: | Supported | |
Gets the data size and descriptor type of the descriptor record at a specified position in a descriptor list.
OSErr AESizeOfNthItem ( const AEDescList *theAEDescList, SInt32 index, DescType *typeCode, Size *dataSize );
A pointer to the descriptor list containing the descriptor record.
A one-based positive integer indicating the position of the descriptor record to get the data size for. AESizeOfNthItem returns an error if you pass zero, a negative number, or a value that is out of range.
A pointer to a descriptor type. On return, specifies the descriptor type of the descriptor record. 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 descriptor record.
A result code.
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)