Important: The information in this document is obsolete and should not be used for new development.
OTCreateTimerTask
Creates a task to be scheduled.C INTERFACE
pascal long OTCreateTimerTask(OTProcessProcPtr proc, void* arg);C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
proc- A procedure pointer referencing the task to be created.
- arg
- A pointer to a user-defined value to be passed to the task when it executes.
- function result
- A 32-bit value identifying the task that was created. You must pass this value for the
timerTaskparameter of theOTScheduleTimerTaskfunction.DISCUSSION
TheOTCreateTimerTaskfunction creates a task that you can schedule later with the functionOTScheduleTimerTask.SEE ALSO
TheOTScheduleTimerTaskfunction.The
OTCancelTimerTaskfunction.The
OTDestroyTimerTaskfunction.