Important: The information in this document is obsolete and should not be used for new development.
SlotVInstall
You can use theSlotVInstallfunction 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
TheSlotVInstallfunction installs the task record specified by thevblTaskPtrparameter in the vertical retrace queue associated with the video device specified by thetheSlotparameter. The Vertical Retrace Manager executes the task at intervals determined by the task record'svblCountandvblPhasefields. The task must reset the value of the task record'svblCountfield if you want the task to be executed again.The Vertical Retrace Manager continues to execute tasks installed using the
SlotVInstallfunction even when the application that installed them is switched out.ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit forSlotVInstallare
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 qTypevalue (must beORD(vType))slotNumErr -360 Invalid slot number