Important: The information in this document is obsolete and should not be used for new development.
VRemove
You can use theVRemovefunction to remove a task record from the system-based vertical retrace queue.
FUNCTION VRemove (vblTaskPtr: QElemPtr): OSErr;
vblTaskPtr- A pointer to the task record to remove from the queue.
DESCRIPTION
TheVRemovefunction removes the task record specified by thevblTaskPtrparameter from the system-based vertical retrace queue.To disable a system-based VBL task temporarily, you can set the
vblCountfield of the task record to 0.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forVRemoveare
Registers on entry A0 Pointer to the task record
Registers on exit D0 Result code RESULT CODES
noErr 0 No error qErr -1 Task record isn't in the queue vTypErr -2 Invalid qTypevalue (must beORD(vType))