Important: The information in this document is obsolete and should not be used for new development.
RmvTimeprocedure to remove a task from the Time Manager queue.
PROCEDURE RmvTime (tmTaskPtr: QElemPtr);
- A pointer to a task record to be removed from the queue.
RmvTimeprocedure removes the Time Manager task record specified by
tmTaskPtrfrom the Time Manager queue. In both the revised and extended Time Managers, if the specified task record is active (that is, if it has been activated but the specified time has not yet elapsed), the
tmCountfield of the task record returns the amount of time remaining. To provide the greatest accuracy, the unused time is reported as negated microseconds if that value is small enough to fit into the
tmCountfield (even if the delay was originally specified in milliseconds); otherwise, the unused time is reported in positive milliseconds. If the time has already expired,
In the revised and extended Time Managers,
RmvTimesets the high-order bit of the
qTypefield to 0.
ASSEMBLY-LANGUAGE INFORMATIONThe registers on entry and exit for
Registers on entryA0 Address of the task recordRegisters on exitD0 Result code
RESULT CODESnoErr 0 No error