Important: The information in this document is obsolete and should not be used for new development.
CallUniversalProc
You can use theCallUniversalProcfunction to call the routine associated with a universal procedure pointer.
long CallUniversalProc (UniversalProcPtr theProcPtr, ProcInfoType theProcInfo, ...);
theProcPtr- A universal procedure pointer.
 theProcInfo- The procedure information associated with the routine specified by the
 theProcPtrparameter.DESCRIPTION
TheCallUniversalProcfunction executes the routine associated with the specified universal procedure pointer. You passCallUniversalProca universal procedure pointer (which may be either a 680x0 procedure pointer or the address of the routine descriptor), a set of procedure information, and a variable number of parameters that are passed to the routine.CallUniversalProcreturns a result of typelongthat contains the result (if any) returned by the called routine.SPECIAL CONSIDERATIONS
If the universal procedure pointer passed toCallUniversalProcis the address
of the routine descriptor, that routine descriptor must already exist before you callCallUniversalProc. If you pass the address of an invalid routine descriptor toCallUniversalProc, a system error will occur.