SCSI Load Driver Parameter Block
The Start Manager uses this parameter block with the SCSILoadDriver function to load a driver for a SCSI device. The SCSI load driver parameter block is defined by the SCSILoadDriverPB data type.
struct SCSILoadDriverPB
{
SCSIPBHdr
SInt16 scsiLoadedRefNum;
Boolean scsiDiskLoadFailed;
};
typedef struct SCSILoadDriverPB SCSILoadDriverPB;
Field Description
SCSIPBHdr
- A macro that includes the SCSI Manager parameter block header, described on page 4-21.
scsiLoadedRefNum
- If the driver is successfully loaded, this field contains the driver reference number returned by the SIM.
scsiDiskLoadFailed
- If this field is set to
true, the SIM should attempt to load its own driver regardless of whether there is one on the device. If this field is set to false, the SIM has the option of loading a driver from the device or using one of its own.