Important: The information in this document is obsolete and should not be used for new development.
InsTime
You can install a task record into the Time Manager task queue using theInsTime
procedure.
PROCEDURE InsTime (tmTaskPtr: QElemPtr);
tmTaskPtr
- A pointer to an original task record to be installed in the queue.
DESCRIPTION
TheInsTime
procedure adds the Time Manager task record specified bytmTaskPtr
to the Time Manager queue. Your application should fill in thetmAddr
field of the task record and should set thetmCount
field to 0. ThetmTaskPtr
parameter must point to an original Time Manager task record.With the revised and extended Time Managers, you can set
tmAddr
toNIL
if you do not want a task to execute when the delay passed toPrimeTime
expires. Also, the revised Time Manager resets the high-order bit of theqType
field to 0 when you callInsTime
.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forInsTime
are:Registers on entry
A0 Address of the task recordRegisters on exitD0 Result codeRESULT CODES
noErr 0 No error