SetDefaultStartup
SetDefaultStartup Specify default startup device
#include <Start.h> Start Manager
SetDefaultStartup(pb );
DefStartPtr pb ; pointer to an 8-byte DefStartRec structure
returns none
SetDefaultStartup defines the kind of default startup device being used.
pb is the address of an 8-byte DefStartRec parameter block structure.
It contains the following fields:
Out-In Name Type Size Offset Description
-> sdExtDevID SignedByte 1 0 External device ID
-> sdPartition SignedByte 1 1 Reserved for the future
-> sdSlotNum SignedByte 1 2 Slot number
-> sdSRsrc SignedByte 1 3 Slot resource ID
OR
-> sdReserved1 SignedByte 1 0 Reserved for the future
-> sdReserved2 SignedByte 1 1 Reserved for the future
-> sdRefNum short 2 2 Negative = SCSI, Positive = Slot
Returns: none

Notes: If the default startup device is a slotDev, put its identification number in
the sdExtDevID field, specify the slot number in sdSlotNum, and fill the
sdSRsrcID field with the slot resource ID.
If the default startup device is a scsiDev, put its reference number in the
sdRefNum field.
If you're not specifying a default startup device, pass a 0 in the sdRefNum
field.
Reserved fields sdReserved1 and sdReserved2 should both be 0.