Important: The information in this document is obsolete and should not be used for new development.
SlotVInstall
You can use theSlotVInstall
function to install a task record in a slot-based vertical retrace queue.
FUNCTION SlotVInstall (vblTaskPtr: QElemPtr; theSlot: Integer): OSErr;
vblTaskPtr
- A pointer to the task record to add to a queue.
theSlot
- The slot number of the video device to whose vertical retrace queue the task record is added.
DESCRIPTION
TheSlotVInstall
function installs the task record specified by thevblTaskPtr
parameter in the vertical retrace queue associated with the video device specified by thetheSlot
parameter. The Vertical Retrace Manager executes the task at intervals determined by the task record'svblCount
andvblPhase
fields. The task must reset the value of the task record'svblCount
field if you want the task to be executed again.The Vertical Retrace Manager continues to execute tasks installed using the
SlotVInstall
function even when the application that installed them is switched out.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSlotVInstall
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 vTypErr -2 Invalid qType
value (must beORD(vType)
)slotNumErr -360 Invalid slot number