Important: The information in this document is obsolete and should not be used for new development.
InsXTime
Use theInsXTimeprocedure to install a task if you want to take advantage of the drift-free, fixed-frequency timing services of the extended Time Manager.
PROCEDURE InsXTime (tmTaskPtr: QElemPtr);
tmTaskPtr- A pointer to an extended task record to be installed in the queue.
DESCRIPTION
TheInsXTimeprocedure adds the Time Manager task record specified bytmTaskPtrto the Time Manager queue. ThetmTaskPtrparameter must point to an extended Time Manager task record. Your application must fill in thetmAddrfield of that task. You should set thetmWakeUpandtmReservedfields to 0 the first time you callInsXTime.With the extended Time Manager, you can set
tmAddrtoNILif you do not want a task to execute when the delay passed toPrimeTimeexpires. Also,InsXTimeresets the high-order bit of theqTypefield to 0.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forInsXTimeare:Registers on entry
A0 Address of the task recordRegisters on exitD0 Result codeRESULT CODES
noErr 0 No error