Carbon


OSASendProcPtr

Header: OSA.h Carbon status: Supported

typedef OSErr(* OSASendProcPtr) (
    const AppleEvent *theAppleEvent, 
    AppleEvent *reply, 
    AESendMode sendMode, 
    AESendPriority sendPriority, 
    SInt32 timeOutInTicks, 
    AEIdleUPP idleProc, 
    AEFilterUPP filterProc, 
    SInt32 refCon
);

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

OSErr MyOSASendCallback (
    const AppleEvent *theAppleEvent, 
    AppleEvent *reply, 
    AESendMode sendMode, 
    AESendPriority sendPriority, 
    SInt32 timeOutInTicks, 
    AEIdleUPP idleProc, 
    AEFilterUPP filterProc, 
    SInt32 refCon
);
theAppleEvent
reply
sendMode
sendPriority
timeOutInTicks
idleProc
filterProc
refCon
function result

A result code.

AVAILABILITY

Supported in Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/4/2000)