DoVBLTask
DoVBLTask Execute VBL tasks in the queue for a specified slot
#include <Retrace.h> Vert. Retrace Mgr
OSErr DoVBLTask(theSlot );
short theSlot; slot whose tasks should be executed
returns 16-bit Error Code; 0=no error
DoVBLTask causes any VBL tasks in the queue for a specified slot to be
executed. If the specified slot is the primary video slot, the position of the
cursor will also be updated.
theSlot is the slot number of the slot whose tasks should be executed. You
can use the Slot Manager routine SGetSRsrc to index through all
the slots on a particular machine.
Returns: an Error Code indicating success or failure of the function. It will
be one of:
noErr (0) no error
slotNumErr (-360) Invalid slot number

Notes: Instead of maintaining a single verticle retrace queue, the
Vertical Retrace Manager maintains a separate queue for each video
device; associated with that queue is the rate at which the device's vertical
retrace interrupt occurs. When interrupts occur for a particular video
slot, the Vertical Retrace Manager executes any tasks in the queue for
that slot.