Important: The information in this document is obsolete and should not be used for new development.
SlotVRemove
You can use theSlotVRemove
function 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
TheSlotVRemove
function removes the task record specified by thevblTaskPtr
parameter from the vertical retrace queue associated with the video device specified by thetheSlot
parameter.To disable a slot-based VBL task temporarily, you can set the
vblCount
field of the task record to 0.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSlotVRemove
are
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 qType
value (must beORD(vType)
)slotNumErr -360 Invalid slot number