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: Operating System Utilities /
Chapter 9 - Start Manager / Start Manager Reference
Routines / Identifying and Setting the Default Video Device


SetVideoDefault

You can use the SetVideoDefault procedure to write information to parameter RAM that sets or changes the default video device.

PROCEDURE SetVideoDefault (paramBlock: DefVideoPtr);
paramBlock
A pointer to a default video device parameter block.
-->sdSlotSignedBytePhysical slot number.
-->sdSResourceSignedByteSlot resource ID (SResourceID).

DESCRIPTION
The SetVideoDefault procedure writes information to parameter RAM that sets or changes the default video device. If you set the sdSlot field to 0, indicating no default video device, the Start Manager chooses the first available video device when the computer starts up.

ASSEMBLY LANGUAGE INFORMATION
The registers on entry and exit for this routine are
Registers on entry
A0Address of the default video device parameter block
Registers on exit
A0Address of the default video device parameter block

SEE ALSO
For more information about the default video device parameter block see "The Default Video Device Parameter Block" beginning on page 9-19.

To retrieve information about the default video device, see the description of the GetVideoDefault procedure on page 9-23.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996