Important: The information in this document is obsolete and should not be used for new development.
Callback Function
You can use theOTProcessProcPtr
prototype to declare a callback routine. You can then pass this routine as a parameter to the Open Transport functions used to create a system, timer, or a deferred task. 4The routine defines the routine that you want Open Transport to execute at that time. The routine takes one argument, which contains user-defined context information.
typedef pascal void (*OTProcessProcPtr)(void* arg);For information about creating your own callback routine, see the description of the functionMyOTProcessProc
. AnOTProcessProcPtr
is never a Universal Proc Pointer.