Important: The information in this document is obsolete and should not be used for new development.
AECountItems
You can use theAECountItems
function to count the number of descriptor records in any descriptor list.
FUNCTION AECountItems (theAEDescList: AEDescList; VAR theCount: LongInt): OSErr;
theAEDescList
- The descriptor list to be counted.
theCount
- The
AECountItems
function returns the number of descriptor records in the specified descriptor list in this parameter.RESULT CODES
noErr 0 No error errAENotAEDesc -1704 Not a valid descriptor record SEE ALSO
For an example of the use ofAECountItems
, see "Getting Data Out of a Descriptor List," which begins on page 4-31.