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 theInsTimeprocedure.
PROCEDURE InsTime (tmTaskPtr: QElemPtr);
tmTaskPtr- A pointer to an original task record to be installed in the queue.
DESCRIPTION
TheInsTimeprocedure adds the Time Manager task record specified bytmTaskPtrto the Time Manager queue. Your application should fill in thetmAddrfield of the task record and should set thetmCountfield to 0. ThetmTaskPtrparameter must point to an original Time Manager task record.With the revised and extended Time Managers, you can set
tmAddrtoNILif you do not want a task to execute when the delay passed toPrimeTimeexpires. Also, the revised Time Manager resets the high-order bit of theqTypefield to 0 when you callInsTime.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forInsTimeare:Registers on entry
A0 Address of the task recordRegisters on exitD0 Result codeRESULT CODES
noErr 0 No error