Important: The information in this document is obsolete and should not be used for new development.
OTCancelTimerTask
Cancels a task that was already scheduled for execution.C INTERFACE
pascal Boolean OTCancelTimerTask(long timerTask);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
timerTask- A 32-bit value identifying the task you want to cancel. This is the value you passed to
OTScheduleTimerTaskwhen you scheduled the task.- function result
- The result is
trueif the timer task was cancelled.DISCUSSION
TheOTCancelTimerTaskcancels the execution of a task scheduled with theOTScheduleTimerTaskfunction.SEE ALSO
TheOTScheduleTimerTaskfunction.The
OTDestroyTimerTaskfunction.