Important: The information in this document is obsolete and should not be used for new development.
SlotVRemove
You can use theSlotVRemovefunction to remove a task record from a slot-based vertical retrace queue.
FUNCTION SlotVRemove (vblTaskPtr: QElemPtr; theSlot: Integer): OSErr;
vblTaskPtr- A pointer to the task record to remove from its queue.
theSlot- The slot number of the video device from whose vertical retrace queue the task record is removed.
DESCRIPTION
TheSlotVRemovefunction removes the task record specified by thevblTaskPtrparameter from the vertical retrace queue associated with the video device specified by thetheSlotparameter.To disable a slot-based VBL task temporarily, you can set the
vblCountfield of the task record to 0.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSlotVRemoveare
Registers on entry A0 Pointer to the task record D0 Slot number of the device associated with the vertical retrace queue
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))slotNumErr -360 Invalid slot number