Important: The information in this document is obsolete and should not be used for new development.
Coercing Descriptor Types
The Apple Event Manager provides two functions that allow you to coerce descriptor types. TheAECoercePtr
function takes a pointer to data and a desired descriptor type and attempts to coerce the data to a descriptor record of the desired descriptor type. TheAECoerceDesc
function attempts to coerce the data in an existing descriptor record to another descriptor type.
Subtopics
- AECoercePtr
- AECoerceDesc