AttachVBL
The AttachVBL function changes the slot number of the primary video monitor.
FUNCTION AttachVBL (theSlot: Integer): OSErr;
theSlot
- The new slot number for the primary video monitor.
DESCRIPTION
The AttachVBL function changes the slot number of the primary monitor to the number specified by the theSlot parameter. System software uses this routine to ensure correct cursor updating.
ASSEMBLY-LANGUAGE INFORMATION
The registers on entry and exit for AttachVBL are
| Registers on entry |
| D0 | Slot number |
| Registers on exit |
| D0 | Result code |
RESULT CODES
| noErr | 0 | No error |
| slotNumErr | -360 | Invalid slot number |