Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Application-Defined Routines
For each Apple event your application supports, you must provide an Apple event handler. TheAEProcessAppleEventfunction calls one of your Apple event handlers when it processes an Apple event. An Apple event handler (MyEventHandler) should perform any action described by the Apple event, add parameters to the reply Apple event if appropriate, and return a result code.You can also provide your own coercion handlers to coerce data to descriptor types other than those for which the Apple Event Manager provides coercion handling. The
MyCoercePtrfunction accepts a pointer to data and returns a descriptor record, and theMyCoerceDescfunction accepts a descriptor record and returns a descriptor record.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |