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
timerTask
parameter of theOTScheduleTimerTask
function.DISCUSSION
TheOTCreateTimerTask
function creates a task that you can schedule later with the functionOTScheduleTimerTask
.SEE ALSO
TheOTScheduleTimerTask
function.The
OTCancelTimerTask
function.The
OTDestroyTimerTask
function.