|
Mac OS 9
|
AppleEvent Package Interfaces. More...
Go to the source code of this file.
Typedefs | |
| typedef SInt8 | AEEventSource |
Enumerations | |
| enum | { keyDirectObject = FOUR_CHAR_CODE('----') , keyErrorNumber = FOUR_CHAR_CODE('errn') , keyErrorString = FOUR_CHAR_CODE('errs') , keyProcessSerialNumber , keyPreDispatch = FOUR_CHAR_CODE('phac') , keySelectProc = FOUR_CHAR_CODE('selh') , keyAERecorderCount , keyAEVersion } |
| enum | { kCoreEventClass = FOUR_CHAR_CODE('aevt') } |
| enum | { kAEOpenApplication = FOUR_CHAR_CODE('oapp') , kAEOpenDocuments = FOUR_CHAR_CODE('odoc') , kAEPrintDocuments = FOUR_CHAR_CODE('pdoc') , kAEQuitApplication = FOUR_CHAR_CODE('quit') , kAEAnswer = FOUR_CHAR_CODE('ansr') , kAEApplicationDied = FOUR_CHAR_CODE('obit') , kAEShowPreferences } |
| enum | { kAEStartRecording , kAEStopRecording , kAENotifyStartRecording , kAENotifyStopRecording , kAENotifyRecording } |
| enum | { kAEUnknownSource = 0 , kAEDirectCall = 1 , kAESameProcess = 2 , kAELocalProcess = 3 , kAERemoteProcess = 4 } |
Functions | |
| OSErr | AEInstallEventHandler (AEEventClass theAEEventClass, AEEventID theAEEventID, AEEventHandlerUPP handler, long handlerRefcon, Boolean isSysHandler) |
| OSErr | AERemoveEventHandler (AEEventClass theAEEventClass, AEEventID theAEEventID, AEEventHandlerUPP handler, Boolean isSysHandler) |
| OSErr | AEGetEventHandler (AEEventClass theAEEventClass, AEEventID theAEEventID, AEEventHandlerUPP *handler, long *handlerRefcon, Boolean isSysHandler) |
| OSErr | AEInstallSpecialHandler (AEKeyword functionClass, AEEventHandlerUPP handler, Boolean isSysHandler) |
| OSErr | AERemoveSpecialHandler (AEKeyword functionClass, AEEventHandlerUPP handler, Boolean isSysHandler) |
| OSErr | AEGetSpecialHandler (AEKeyword functionClass, AEEventHandlerUPP *handler, Boolean isSysHandler) |
| OSErr | AEManagerInfo (AEKeyword keyWord, long *result) |
AppleEvent Package Interfaces.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| typedef SInt8 AEEventSource |
AEEventSource is defined as an SInt8 for compatability with pascal. Important note: keyEventSourceAttr is returned by AttributePtr as a typeShortInteger. Be sure to pass at least two bytes of storage to AEGetAttributePtr - the result can be compared directly against the following enums.
| anonymous enum |
Note: The functions and types for the building and parsing AppleEvent messages has moved to AEDataModel.h Note: The functions for interacting with events has moved to AEInteraction.h
| anonymous enum |
Event Class
| anonymous enum |
Event ID©s
| anonymous enum |
| OSErr AEGetEventHandler | ( | AEEventClass | theAEEventClass, |
| AEEventID | theAEEventID, | ||
| AEEventHandlerUPP * | handler, | ||
| long * | handlerRefcon, | ||
| Boolean | isSysHandler | ||
| ) |
| OSErr AEGetSpecialHandler | ( | AEKeyword | functionClass, |
| AEEventHandlerUPP * | handler, | ||
| Boolean | isSysHandler | ||
| ) |
| OSErr AEInstallEventHandler | ( | AEEventClass | theAEEventClass, |
| AEEventID | theAEEventID, | ||
| AEEventHandlerUPP | handler, | ||
| long | handlerRefcon, | ||
| Boolean | isSysHandler | ||
| ) |
| OSErr AEInstallSpecialHandler | ( | AEKeyword | functionClass, |
| AEEventHandlerUPP | handler, | ||
| Boolean | isSysHandler | ||
| ) |
| OSErr AEManagerInfo | ( | AEKeyword | keyWord, |
| long * | result | ||
| ) |
| OSErr AERemoveEventHandler | ( | AEEventClass | theAEEventClass, |
| AEEventID | theAEEventID, | ||
| AEEventHandlerUPP | handler, | ||
| Boolean | isSysHandler | ||
| ) |
| OSErr AERemoveSpecialHandler | ( | AEKeyword | functionClass, |
| AEEventHandlerUPP | handler, | ||
| Boolean | isSysHandler | ||
| ) |