Important: The information in this document is obsolete and should not be used for new development.
AEGetSpecialHandler
You can use theAEGetSpecialHandler
function to get a specified special handler.
FUNCTION AEGetSpecialHandler (functionClass: AEKeyword; VAR handler: ProcPtr; isSysHandler: Boolean): OSErr;
functionClass
The keyword for the special handler that is installed. ThekeyPreDispatch
constant identifies a handler with the same parameters as an Apple event handler that is called immediately before the Apple Event Manager dispatches an Apple event. Any of the constants for object callback functions listed on page 4-100 can also be specified in this parameter.handler
- A pointer to the special handler.
isSysHandler
- Specifies the special handler dispatch table from which to get the handler. If the value of this parameter is
TRUE
, the handler is taken from the system special handler dispatch table. If the value isFALSE
, the handler is taken from the application's special handler dispatch table.RESULT CODES
noErr 0 No error memFullErr -108 Not enough room in heap zone errAENotASpecialFunction -1714 Wrong keyword for a special handler