Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Processes
Chapter 4 - Vertical Retrace Manager / Vertical Retrace Manager Reference
Vertical Retrace Manager Routines / Slot-Based Installation and Removal Routines


You can use the SlotVRemove function to remove a task record from a slot-based vertical retrace queue.

FUNCTION SlotVRemove (vblTaskPtr: QElemPtr; theSlot: Integer): 
A pointer to the task record to remove from its queue.
The slot number of the video device from whose vertical retrace queue the task record is removed.
The SlotVRemove function removes the task record specified by the vblTaskPtr parameter from the vertical retrace queue associated with the video device specified by the theSlot parameter.

To disable a slot-based VBL task temporarily, you can set the vblCount field of the task record to 0.

The registers on entry and exit for SlotVRemove are
Registers on entry
A0Pointer to the task record
D0Slot number of the device associated with the vertical retrace queue
Registers on exit
D0Result code

noErr0No error
qErr-1Task record isn't in the queue
vTypErr-2Invalid qType value (must be ORD(vType))
slotNumErr-360Invalid slot number

Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUN 1996