GetDefaultStartup
DefStartPtr pb ; pointer to an 8-byte DefStartRec structure returns none
what kind of default startup device is 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
<- sdPartition SignedByte 1 1 Reserved for the future 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
Notes: Deciding which variant to use depends on the content of the sdRefNum field.
A negative number means the driver reference of a SCSI device (scsiDev)
and no further information is needed, while a positive number means you'll
have to access the information in the slotDev variant. If you have to access
the information in slotDev, only sdExtDevID (the slot's driver), sdSlotNum
(the slot number) and sdSRsrcID (the slot resource ID) will contain
pertinent data. sdPartition is a reserved field.