Carbon


OSACreateAppleEventProcPtr

Header: OSA.h Carbon status: Supported

typedef OSErr(* OSACreateAppleEventProcPtr) (
    AEEventClass theAEEventClass, 
    AEEventID theAEEventID, 
    const AEAddressDesc *target, 
    SInt16 returnID, 
    SInt32 transactionID, 
    AppleEvent *result, 
    SInt32 refCon
);

You would declare your function like this if you were to name it MyOSACreateAppleEventCallback:

OSErr MyOSACreateAppleEventCallback (
    AEEventClass theAEEventClass, 
    AEEventID theAEEventID, 
    const AEAddressDesc *target, 
    SInt16 returnID, 
    SInt32 transactionID, 
    AppleEvent *result, 
    SInt32 refCon
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)