Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 23 - Programming With Open Transport Reference / Functions
Working With Timer Tasks /


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 the OTScheduleTimerTask function.
DISCUSSION
The OTCreateTimerTask function creates a task that you can schedule later with the function OTScheduleTimerTask.

SEE ALSO
The OTScheduleTimerTask function.

The OTCancelTimerTask function.

The OTDestroyTimerTask function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998