Important: The information in this document is obsolete and should not be used for new development.
Creating and Managing the Apple Event Dispatch Tables
An Apple event dispatch table contains entries that specify the event class and event ID that refer to one or more Apple events, the address of the handler routine that handles those Apple events, and a reference constant. You can use theAEInstallEventHandler
function to add entries to the Apple event dispatch table. This function sets up the initial mapping between the handlers in your application and the Apple events that they handle.To get the address of a handler currently in the Apple event dispatch table, use the
AEGetEventHandler
function. If you need to remove any of your Apple event handlers after the mapping between handlers and Apple events is established, you can use theAERemoveEventHandler
function.
Subtopics
- AEInstallEventHandler
- AEGetEventHandler
- AERemoveEventHandler