Stores data and an accompanying descriptor type to form the basic building block of all Apple Events.
SDKs
- macOS 10.0+
- Mac Catalyst 13.0+
Framework
- Core Services
Declaration
struct AEDesc
Overview
The Apple Event Manager uses one or more descriptors to construct
Apple event attributes and parameters, object specifiers, tokens,
and many other types of data it works with. (Token is defined in AEDispose
.) A
descriptor consists of an opaque data storage container and a descriptor
type that identifies the type of the data stored in the descriptor.
The descriptor type is a structure of type Desc
,
which in turn is of data type Res
—that
is, a four-character code. Descriptor Type Constants lists the constants for the basic descriptor
types used by the Apple Event Manager. For information about descriptor
types used with object specifiers, see Key Form and Descriptor Type Object Specifier Constants.
Version-Notes
Prior to Carbon, the AEData
data
type was defined as follows:
typedef Handle AEDataStorage;